summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/snk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/snk.cpp')
-rw-r--r--src/mame/drivers/snk.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/snk.cpp b/src/mame/drivers/snk.cpp
index 54de1dc057f..9402949c0ae 100644
--- a/src/mame/drivers/snk.cpp
+++ b/src/mame/drivers/snk.cpp
@@ -92,7 +92,7 @@ Notes:
a bug. The service mode functionality is very limited anyway. To get past the
failed ROM test and see the service mode, use this ROM patch:
- UINT8 *mem = machine.root_device().memregion("maincpu")->base();
+ uint8_t *mem = machine.root_device().memregion("maincpu")->base();
mem[0x3a5d] = mem[0x3a5e] = mem[0x3a5f] = 0;
- The "SNK Wave" custom sound circuitry is only actually used by marvins and
@@ -567,7 +567,7 @@ WRITE8_MEMBER(snk_state::hardflags_scroll_msb_w)
int snk_state::hardflags_check(int num)
{
- const UINT8 *sr = &m_spriteram[0x800 + 4*num];
+ const uint8_t *sr = &m_spriteram[0x800 + 4*num];
int x = sr[2] + ((sr[3] & 0x80) << 1);
int y = sr[0] + ((sr[3] & 0x10) << 4);
@@ -659,7 +659,7 @@ WRITE8_MEMBER(snk_state::turbocheck_msb_w)
int snk_state::turbofront_check(int small, int num)
{
- const UINT8 *sr = &m_spriteram[0x800*small + 4*num];
+ const uint8_t *sr = &m_spriteram[0x800*small + 4*num];
int x = sr[2] + ((sr[3] & 0x80) << 1);
int y = sr[0] + ((sr[3] & 0x10) << 4);