mirror of
https://github.com/holub/mame
synced 2025-05-21 21:29:15 +03:00
set m_cursetting to NULL since must not be set in case of onoff_alloc, this fixes validation too (no whatsnew)
This commit is contained in:
parent
d4944e9582
commit
0f76b1e0f6
@ -3915,6 +3915,8 @@ void ioport_configurer::onoff_alloc(const char *name, ioport_value defval, iopor
|
|||||||
// allocate settings
|
// allocate settings
|
||||||
setting_alloc(defval & mask, DEF_STR(Off));
|
setting_alloc(defval & mask, DEF_STR(Off));
|
||||||
setting_alloc(~defval & mask, DEF_STR(On));
|
setting_alloc(~defval & mask, DEF_STR(On));
|
||||||
|
// clear cursettings set by setting_alloc
|
||||||
|
m_cursetting = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user