diff options
Diffstat (limited to 'src/emu/config.cpp')
-rw-r--r-- | src/emu/config.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/config.cpp b/src/emu/config.cpp index fb1204fd622..6c6b4c93578 100644 --- a/src/emu/config.cpp +++ b/src/emu/config.cpp @@ -149,13 +149,13 @@ int configuration_manager::load_xml(emu_file &file, config_type which_type) return 0; /* strip off all the path crap from the source filename */ - const char *srcfile = strrchr(machine().system().source_file, '/'); + const char *srcfile = strrchr(machine().system().type.source(), '/'); if (!srcfile) - srcfile = strrchr(machine().system().source_file, '\\'); + srcfile = strrchr(machine().system().type.source(), '\\'); if (!srcfile) - srcfile = strrchr(machine().system().source_file, ':'); + srcfile = strrchr(machine().system().type.source(), ':'); if (!srcfile) - srcfile = machine().system().source_file; + srcfile = machine().system().type.source(); else srcfile++; |