summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/offtwall.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/offtwall.cpp')
-rw-r--r--src/mame/drivers/offtwall.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/offtwall.cpp b/src/mame/drivers/offtwall.cpp
index ab1def6cb47..1a052608e7e 100644
--- a/src/mame/drivers/offtwall.cpp
+++ b/src/mame/drivers/offtwall.cpp
@@ -130,8 +130,8 @@ READ16_MEMBER(offtwall_state::bankrom_r)
ROM bank area, we need to return the correct value to give the proper checksum */
if ((offset == 0x3000 || offset == 0x3001) && space.device().safe_pcbase() > 0x37000)
{
- UINT32 checksum = (space.read_word(0x3fd210) << 16) | space.read_word(0x3fd212);
- UINT32 us = 0xaaaa5555 - checksum;
+ uint32_t checksum = (space.read_word(0x3fd210) << 16) | space.read_word(0x3fd212);
+ uint32_t us = 0xaaaa5555 - checksum;
if (offset == 0x3001)
return us & 0xffff;
else
@@ -168,7 +168,7 @@ READ16_MEMBER(offtwall_state::spritecache_count_r)
/* if this read is coming from $99f8 or $9992, it's in the sprite copy loop */
if (prevpc == 0x99f8 || prevpc == 0x9992)
{
- UINT16 *data = &m_spritecache_count[-0x100];
+ uint16_t *data = &m_spritecache_count[-0x100];
int oldword = m_spritecache_count[0];
int count = oldword >> 8;
int i, width = 0;
@@ -474,7 +474,7 @@ DRIVER_INIT_MEMBER(offtwall_state,offtwall)
m_maincpu->space(AS_PROGRAM).install_read_handler(0x037ec2, 0x037f39, read16_delegate(FUNC(offtwall_state::bankswitch_r),this));
m_maincpu->space(AS_PROGRAM).install_read_handler(0x3fdf1e, 0x3fdf1f, read16_delegate(FUNC(offtwall_state::unknown_verify_r),this));
m_spritecache_count = m_mainram + (0x3fde42 - 0x3fd800)/2;
- m_bankswitch_base = (UINT16 *)(memregion("maincpu")->base() + 0x37ec2);
+ m_bankswitch_base = (uint16_t *)(memregion("maincpu")->base() + 0x37ec2);
m_unknown_verify_base = m_mainram + (0x3fdf1e - 0x3fd800)/2;
}
@@ -486,7 +486,7 @@ DRIVER_INIT_MEMBER(offtwall_state,offtwalc)
m_maincpu->space(AS_PROGRAM).install_read_handler(0x037eca, 0x037f43, read16_delegate(FUNC(offtwall_state::bankswitch_r),this));
m_maincpu->space(AS_PROGRAM).install_read_handler(0x3fdf24, 0x3fdf25, read16_delegate(FUNC(offtwall_state::unknown_verify_r),this));
m_spritecache_count = m_mainram + (0x3fde42 - 0x3fd800)/2;
- m_bankswitch_base = (UINT16 *)(memregion("maincpu")->base() + 0x37eca);
+ m_bankswitch_base = (uint16_t *)(memregion("maincpu")->base() + 0x37eca);
m_unknown_verify_base = m_mainram + (0x3fdf24 - 0x3fd800)/2;
}