X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Femu.c;h=aef34b0d9f2888c4f79523bd9128810b40633cad;hb=7f3b59cfbc4a85e2b2f036b0ae3fce09a94ed919;hp=c696d887fb66e3723ab2c8d37509e6667744b4bc;hpb=b3972d826fe31f82aa3382f80454e5d8ce895705;p=libpicofe.git diff --git a/gp2x/emu.c b/gp2x/emu.c index c696d88..aef34b0 100644 --- a/gp2x/emu.c +++ b/gp2x/emu.c @@ -123,12 +123,8 @@ void emu_Deinit(void) SRam.changed = 0; } - if (!(currentConfig.EmuOpt & 0x20)) { - config_writelrom(PicoConfigFile); -#ifndef NO_SYNC - sync(); -#endif - } + if (!(currentConfig.EmuOpt & EOPT_NO_AUTOSVCFG)) + emu_writelrom(); free(PicoDraw2FB);