summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/imagedev/chd_cd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/imagedev/chd_cd.c')
-rw-r--r--src/emu/imagedev/chd_cd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/emu/imagedev/chd_cd.c b/src/emu/imagedev/chd_cd.c
index 54d360a1225..d153e889b41 100644
--- a/src/emu/imagedev/chd_cd.c
+++ b/src/emu/imagedev/chd_cd.c
@@ -96,7 +96,6 @@ bool cdrom_image_device::call_load()
{
chd_error err = (chd_error)0;
chd_file *chd = NULL;
- astring tempstring;
if (m_cdrom_handle)
cdrom_close(m_cdrom_handle);
@@ -110,7 +109,7 @@ bool cdrom_image_device::call_load()
chd = &m_self_chd;
}
} else {
- chd = get_disk_handle(device().machine(), device().subtag(tempstring, "cdrom").c_str());
+ chd = get_disk_handle(device().machine(), device().subtag("cdrom").c_str());
}
/* open the CHD file */