diff options
author | dreammaster | 2019-04-17 05:41:14 +0100 |
---|---|---|
committer | Paul Gilbert | 2019-04-17 20:46:07 -0700 |
commit | 427e051f6a1d2b5740b9f3ab0c5e3df9df7494fb (patch) | |
tree | a3e142d36f94622756c14833651fd6821c578fc1 /engines/glk/glulxe/glulxe_types.h | |
parent | 105c9cb885990c6de50eedb9928baa840e134000 (diff) | |
download | scummvm-rg350-427e051f6a1d2b5740b9f3ab0c5e3df9df7494fb.tar.gz scummvm-rg350-427e051f6a1d2b5740b9f3ab0c5e3df9df7494fb.tar.bz2 scummvm-rg350-427e051f6a1d2b5740b9f3ab0c5e3df9df7494fb.zip |
GLK: GLULXE: astyle formatting
Diffstat (limited to 'engines/glk/glulxe/glulxe_types.h')
-rw-r--r-- | engines/glk/glulxe/glulxe_types.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/engines/glk/glulxe/glulxe_types.h b/engines/glk/glulxe/glulxe_types.h index 9200ec27eb..d57600edb7 100644 --- a/engines/glk/glulxe/glulxe_types.h +++ b/engines/glk/glulxe/glulxe_types.h @@ -103,18 +103,18 @@ class Glulxe; * degradation or even crashes, depending on the machine CPU. */ #define Stk1(adr) \ - (*((unsigned char *)(stack+(adr)))) + (*((unsigned char *)(stack+(adr)))) #define Stk2(adr) \ - (*((uint16 *)(stack+(adr)))) + (*((uint16 *)(stack+(adr)))) #define Stk4(adr) \ - (*((uint32 *)(stack+(adr)))) + (*((uint32 *)(stack+(adr)))) #define StkW1(adr, vl) \ - (*((byte *)(stack+(adr))) = (byte)(vl)) + (*((byte *)(stack+(adr))) = (byte)(vl)) #define StkW2(adr, vl) \ - (*((uint16 *)(stack+(adr))) = (uint16)(vl)) + (*((uint16 *)(stack+(adr))) = (uint16)(vl)) #define StkW4(adr, vl) \ - (*((uint32 *)(stack+(adr))) = (uint32)(vl)) + (*((uint32 *)(stack+(adr))) = (uint32)(vl)) enum Opcode { op_nop = 0x00, @@ -319,9 +319,9 @@ typedef classtable_struct classtable_t; * Represents the operand structure of an opcode. */ struct operandlist_struct { - int num_ops; ///< Number of operands for this opcode - int arg_size; ///< Usually 4, but can be 1 or 2 - const int *formlist; ///< Array of values, either modeform_Load or modeform_Store + int num_ops; ///< Number of operands for this opcode + int arg_size; ///< Usually 4, but can be 1 or 2 + const int *formlist; ///< Array of values, either modeform_Load or modeform_Store }; typedef operandlist_struct operandlist_t; @@ -389,7 +389,7 @@ enum iosys { }; #define CACHEBITS (4) -#define CACHESIZE (1 << CACHEBITS) +#define CACHESIZE (1 << CACHEBITS) #define CACHEMASK (15) struct cacheblock_struct { |