GBA Context: Save config when closing down a GUI context
Jeffrey Pfau jeffrey@endrift.com
Mon, 07 Sep 2015 21:47:18 -0700
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
src/gba/gui/gui-runner.c
→
src/gba/gui/gui-runner.c
@@ -109,6 +109,9 @@ void GBAGUIDeinit(struct GBAGUIRunner* runner) {
if (runner->teardown) { runner->teardown(runner); } + if (runner->context.config.port) { + GBAConfigSave(&runner->context.config); + } GBAContextDeinit(&runner->context); }