summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine.c')
-rw-r--r--src/emu/machine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/machine.c b/src/emu/machine.c
index e85f39d03cd..fd397757baf 100644
--- a/src/emu/machine.c
+++ b/src/emu/machine.c
@@ -892,7 +892,7 @@ void running_machine::handle_saveload()
// if no name, bail
emu_file file(m_saveload_searchpath, openflags);
- if (!m_saveload_pending_file)
+ if (m_saveload_pending_file.empty())
goto cancel;
// if there are anonymous timers, we can't save just yet, and we can't load yet either