summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/diimage.cpp
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2017-06-26 08:47:48 -0400
committer Vas Crabb <cuavas@users.noreply.github.com>2017-06-27 16:20:45 +1000
commitad3191cdd3cd100bc376fb7daec0ea1508211350 (patch)
treee9c13377033fdfb82c6152b2a6718e87d9744376 /src/emu/diimage.cpp
parentf05751e2833471af303d58b77212afd75e754c17 (diff)
Fixed issue loading reset_on_load() images (#2414)
Diffstat (limited to 'src/emu/diimage.cpp')
-rw-r--r--src/emu/diimage.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/emu/diimage.cpp b/src/emu/diimage.cpp
index fc321185219..92e09ecdbbb 100644
--- a/src/emu/diimage.cpp
+++ b/src/emu/diimage.cpp
@@ -96,7 +96,8 @@ device_image_interface::device_image_interface(const machine_config &mconfig, de
m_create_format(0),
m_create_args(nullptr),
m_user_loadable(true),
- m_is_loading(false)
+ m_is_loading(false),
+ m_is_reset_and_loading(false)
{
}
@@ -1218,6 +1219,9 @@ void device_image_interface::reset_and_load(const std::string &path)
// and record the new load
device().machine().options().image_option(instance_name()).specify(path);
+
+ // record that we're reset and loading
+ m_is_reset_and_loading = true;
}