mirror of
https://github.com/holub/mame
synced 2025-06-07 21:33:45 +03:00
lib/util/options.cpp: Don't try to set the value of a header (nw)
This commit is contained in:
parent
f522870d8a
commit
fee7039a48
@ -1034,6 +1034,7 @@ bool core_options::header_exists(const char *description) const
|
|||||||
void core_options::revert(int priority_hi, int priority_lo)
|
void core_options::revert(int priority_hi, int priority_lo)
|
||||||
{
|
{
|
||||||
for (entry::shared_ptr &curentry : m_entries)
|
for (entry::shared_ptr &curentry : m_entries)
|
||||||
|
if (curentry->type() != option_type::HEADER)
|
||||||
curentry->revert(priority_hi, priority_lo);
|
curentry->revert(priority_hi, priority_lo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user