mirror of https://github.com/mgba-emu/mgba.git
mGUI: Fix saving integer config values
This commit is contained in:
parent
d365312757
commit
55f21cd951
|
@ -341,7 +341,7 @@ void mGUIShowConfig(struct mGUIRunner* runner, struct GUIMenuItem* extra, size_t
|
|||
mCoreConfigSetUIntValue(&runner->config, item->data.v.s, v->v.u);
|
||||
break;
|
||||
case GUI_VARIANT_INT:
|
||||
mCoreConfigSetUIntValue(&runner->config, item->data.v.s, v->v.i);
|
||||
mCoreConfigSetIntValue(&runner->config, item->data.v.s, v->v.i);
|
||||
break;
|
||||
case GUI_VARIANT_FLOAT:
|
||||
mCoreConfigSetFloatValue(&runner->config, item->data.v.s, v->v.f);
|
||||
|
|
Loading…
Reference in New Issue