summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/wrally.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/wrally.cpp')
-rw-r--r--src/mame/drivers/wrally.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/drivers/wrally.cpp b/src/mame/drivers/wrally.cpp
index bb5566b1491..5d9f0b2c825 100644
--- a/src/mame/drivers/wrally.cpp
+++ b/src/mame/drivers/wrally.cpp
@@ -160,7 +160,7 @@ void wrally_state::wrally_map(address_map &map)
[this](address_space &space, offs_t offset, u8 data, u8 mem_mask) {
m_outlatch->write_d0(space, offset >> 3, data, mem_mask);
});
- map(0x70000c, 0x70000d).w(FUNC(wrally_state::okim6295_bankswitch_w)); /* OKI6295 bankswitch */
+ map(0x70000d, 0x70000d).w(FUNC(wrally_state::okim6295_bankswitch_w)); /* OKI6295 bankswitch */
map(0x70000f, 0x70000f).rw("oki", FUNC(okim6295_device::read), FUNC(okim6295_device::write)); /* OKI6295 status/data register */
map(0xfec000, 0xfeffff).ram().share("shareram"); /* Work RAM (shared with DS5002FP) */
}
@@ -253,10 +253,8 @@ static const gfx_layout wrally_tilelayout16 =
RGN_FRAC(1,2), /* number of tiles */
4, /* 4 bpp */
{ RGN_FRAC(1,2)+8, RGN_FRAC(1,2)+0, 8, 0 },
- { 0, 1, 2, 3, 4, 5, 6, 7,
- 16*16+0, 16*16+1, 16*16+2, 16*16+3, 16*16+4, 16*16+5, 16*16+6, 16*16+7 },
- { 0*16, 1*16, 2*16, 3*16, 4*16, 5*16, 6*16, 7*16,
- 8*16, 9*16, 10*16, 11*16, 12*16, 13*16, 14*16, 15*16 },
+ { STEP8(0,1), STEP8(16*16,1) },
+ { STEP16(0,16) },
64*8
};