diff options
Diffstat (limited to 'src/mame/machine/jumpshot.cpp')
-rw-r--r-- | src/mame/machine/jumpshot.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/machine/jumpshot.cpp b/src/mame/machine/jumpshot.cpp index 5df077f55b6..5cf9cb711a4 100644 --- a/src/mame/machine/jumpshot.cpp +++ b/src/mame/machine/jumpshot.cpp @@ -4,9 +4,9 @@ #include "includes/pacman.h" -UINT8 pacman_state::jumpshot_decrypt(int addr, UINT8 e) +uint8_t pacman_state::jumpshot_decrypt(int addr, uint8_t e) { - static const UINT8 swap_xor_table[6][9] = + static const uint8_t swap_xor_table[6][9] = { { 7,6,5,4,3,2,1,0, 0x00 }, { 7,6,3,4,5,2,1,0, 0x20 }, @@ -20,8 +20,8 @@ UINT8 pacman_state::jumpshot_decrypt(int addr, UINT8 e) 0,2,4,4,4,2,0,2,2,0,2,4,4,2,0,2, 5,3,5,1,5,3,5,3,1,5,1,5,5,3,5,3 }; - UINT32 method = 0; - const UINT8 *tbl; + uint32_t method = 0; + const uint8_t *tbl; /* pick method from bits 0 2 5 7 9 of the address */ @@ -44,7 +44,7 @@ UINT8 pacman_state::jumpshot_decrypt(int addr, UINT8 e) void pacman_state::jumpshot_decode() { int i; - UINT8 *RAM; + uint8_t *RAM; /* CPU ROMs */ |