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