summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine.h')
-rw-r--r--src/emu/machine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/machine.h b/src/emu/machine.h
index 9fb264f9963..b045d37700a 100644
--- a/src/emu/machine.h
+++ b/src/emu/machine.h
@@ -182,7 +182,7 @@ public:
bool ui_active() const { return m_ui_active; }
const char *basename() const { return m_basename.c_str(); }
int sample_rate() const { return m_sample_rate; }
- bool save_or_load_pending() const { return m_saveload_pending_file; }
+ bool save_or_load_pending() const { return !m_saveload_pending_file.empty(); }
screen_device *first_screen() const { return primary_screen; }
// additional helpers