diff options
author | Vas Crabb <vas@vastheman.com> | 2016-11-19 05:35:54 +1100 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2016-11-19 05:38:48 +1100 |
commit | 8179a84458204a5e767446fcf7d10f032a40fd0c (patch) | |
tree | 16105e1667f811dcb24dbf0fc255166cb06df5c2 /src/devices/cpu/m68000/m68kcpu.h | |
parent | 1b489fe83034072149fb0637b20c7ba57dc72a7a (diff) |
Introduce u8/u16/u32/u64/s8/s16/s32/s64
* New abbreviated types are in osd and util namespaces, and also in global namespace for things that #include "emu.h"
* Get rid of import of cstdint types to global namespace (C99 does this anyway)
* Remove the cstdint types from everything in emu
* Get rid of U64/S64 macros
* Fix a bug in dps16 caused by incorrect use of macro
* Fix debugcon not checking for "do " prefix case-insensitively
* Fix a lot of messed up tabulation
* More constexpr
* Fix up many __names
Diffstat (limited to 'src/devices/cpu/m68000/m68kcpu.h')
-rw-r--r-- | src/devices/cpu/m68000/m68kcpu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/cpu/m68000/m68kcpu.h b/src/devices/cpu/m68000/m68kcpu.h index d9ad9656bf2..2d3d7c27fb0 100644 --- a/src/devices/cpu/m68000/m68kcpu.h +++ b/src/devices/cpu/m68000/m68kcpu.h @@ -153,7 +153,7 @@ class m68000_base_device; #define GET_MSB_16(A) ((A) & 0x8000) #define GET_MSB_17(A) ((A) & 0x10000) #define GET_MSB_32(A) ((A) & 0x80000000) -#define GET_MSB_33(A) ((A) & U64(0x100000000)) +#define GET_MSB_33(A) ((A) & 0x100000000U) /* Isolate nibbles */ #define LOW_NIBBLE(A) ((A) & 0x0f) @@ -168,8 +168,8 @@ class m68000_base_device; #define MASK_OUT_BELOW_16(A) ((A) & ~0xffff) /* No need to mask if we are 32 bit */ -#define MASK_OUT_ABOVE_32(A) ((A) & U64(0xffffffff)) -#define MASK_OUT_BELOW_32(A) ((A) & ~U64(0xffffffff)) +#define MASK_OUT_ABOVE_32(A) ((A) & u64(0xffffffffU)) +#define MASK_OUT_BELOW_32(A) ((A) & ~u64(0xffffffffU)) /* Shift & Rotate Macros. */ #define LSL(A, C) ((A) << (C)) |