mGUI: Don't save config menu markers
Vicki Pfau vi@endrift.com
Sat, 29 Sep 2018 12:05:41 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/feature/gui/gui-config.c
→
src/feature/gui/gui-config.c
@@ -228,7 +228,7 @@ mCoreConfigSetValue(&runner->config, "sgb.bios", sgbBiosPath);
} for (i = 0; i < GUIMenuItemListSize(&menu.items); ++i) { item = GUIMenuItemListGetPointer(&menu.items, i); - if (!item->validStates || !item->data) { + if (!item->validStates || !item->data || ((const char*) item->data)[0] == '*') { continue; } if (item->stateMappings) {