summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/fileio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/fileio.c')
-rw-r--r--src/emu/fileio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/fileio.c b/src/emu/fileio.c
index cc4ff44ff2a..646825ae13e 100644
--- a/src/emu/fileio.c
+++ b/src/emu/fileio.c
@@ -845,16 +845,16 @@ file_error emu_file::attempt__7zped()
int fileno = -1;
// see if we can find a file with the right name and (if available) crc
- if (m_openflags & OPEN_FLAG_HAS_CRC) fileno = _7z_search_crc_match(_7z, m_crc, filename.cstr(), filename.len(), true, true);
+ if (m_openflags & OPEN_FLAG_HAS_CRC) fileno = _7z_search_crc_match(_7z, m_crc, filename.c_str(), filename.len(), true, true);
// if that failed, look for a file with the right crc, but the wrong filename
if (fileno==-1)
- if (m_openflags & OPEN_FLAG_HAS_CRC) fileno = _7z_search_crc_match(_7z, m_crc, filename.cstr(), filename.len(), true, false);
+ if (m_openflags & OPEN_FLAG_HAS_CRC) fileno = _7z_search_crc_match(_7z, m_crc, filename.c_str(), filename.len(), true, false);
// if that failed, look for a file with the right name; reporting a bad checksum
// is more helpful and less confusing than reporting "rom not found"
if (fileno==-1)
- fileno = _7z_search_crc_match(_7z, m_crc, filename.cstr(), filename.len(), false, true);
+ fileno = _7z_search_crc_match(_7z, m_crc, filename.c_str(), filename.len(), false, true);
if (fileno != -1)
{