summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/commando.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/commando.cpp')
-rw-r--r--src/mame/drivers/commando.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/commando.cpp b/src/mame/drivers/commando.cpp
index 07fe2d68448..d7f29bc85d4 100644
--- a/src/mame/drivers/commando.cpp
+++ b/src/mame/drivers/commando.cpp
@@ -664,25 +664,25 @@ ROM_END
DRIVER_INIT_MEMBER(commando_state,commando)
{
- UINT8 *rom = memregion("maincpu")->base();
+ uint8_t *rom = memregion("maincpu")->base();
// the first opcode is *not* encrypted
m_decrypted_opcodes[0] = rom[0];
for (int A = 1; A < 0xc000; A++)
{
- UINT8 src = rom[A];
+ uint8_t src = rom[A];
m_decrypted_opcodes[A] = (src & 0x11) | ((src & 0xe0) >> 4) | ((src & 0x0e) << 4);
}
}
DRIVER_INIT_MEMBER(commando_state,spaceinv)
{
- UINT8 *rom = memregion("maincpu")->base();
+ uint8_t *rom = memregion("maincpu")->base();
// the first opcode *is* encrypted
for (int A = 0; A < 0xc000; A++)
{
- UINT8 src = rom[A];
+ uint8_t src = rom[A];
m_decrypted_opcodes[A] = (src & 0x11) | ((src & 0xe0) >> 4) | ((src & 0x0e) << 4);
}
}