summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/chihiro.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/chihiro.c')
-rw-r--r--src/mame/drivers/chihiro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/chihiro.c b/src/mame/drivers/chihiro.c
index 4bc1d6dd2a5..cd42b42ab5a 100644
--- a/src/mame/drivers/chihiro.c
+++ b/src/mame/drivers/chihiro.c
@@ -884,7 +884,7 @@ int ide_baseboard_device::read_sector(UINT32 lba, void *buffer)
logerror("baseboard: read sector lba %08x\n",lba);
off=(lba&0x7ff)*512;
- data=machine().region("others")->base();
+ data=machine().root_device().memregion("others")->base();
memcpy(buffer,data+off,512);
return 1;
}