summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/egret.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/machine/egret.c')
-rw-r--r--src/mess/machine/egret.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/machine/egret.c b/src/mess/machine/egret.c
index 50b45811890..b8cb5e78cf6 100644
--- a/src/mess/machine/egret.c
+++ b/src/mess/machine/egret.c
@@ -388,7 +388,7 @@ void egret_device::device_start()
save_item(NAME(disk_pram));
astring tempstring;
- UINT8 *rom = device().machine().root_device().memregion(device().subtag(tempstring, EGRET_CPU_TAG))->base();
+ UINT8 *rom = device().machine().root_device().memregion(device().subtag(tempstring, EGRET_CPU_TAG).c_str())->base();
if (rom)
{