summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/emu/ioport.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/ioport.c b/src/emu/ioport.c
index 57c9cf26a51..e7ecb2b434e 100644
--- a/src/emu/ioport.c
+++ b/src/emu/ioport.c
@@ -3915,6 +3915,8 @@ void ioport_configurer::onoff_alloc(const char *name, ioport_value defval, iopor
// allocate settings
setting_alloc(defval & mask, DEF_STR(Off));
setting_alloc(~defval & mask, DEF_STR(On));
+ // clear cursettings set by setting_alloc
+ m_cursetting = NULL;
}