summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/taitojc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/taitojc.c')
-rw-r--r--src/mame/drivers/taitojc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/taitojc.c b/src/mame/drivers/taitojc.c
index 8c9e6b1541a..9eb9c2bfc21 100644
--- a/src/mame/drivers/taitojc.c
+++ b/src/mame/drivers/taitojc.c
@@ -919,7 +919,7 @@ ADDRESS_MAP_END
READ16_MEMBER(taitojc_state::dsp_rom_r)
{
- UINT16 *rom = (UINT16*)machine().region("gfx2")->base();
+ UINT16 *rom = (UINT16*)machine().root_device().memregion("gfx2")->base();
UINT16 data = rom[m_dsp_rom_pos++];
//mame_printf_debug("dsp_rom_r: %08X, %08X at %08X\n", offset, mem_mask, cpu_get_pc(&space.device()));