frontend, fix scaling option handling

This commit is contained in:
kub 2020-09-30 19:34:47 +02:00
parent 47677a2ab1
commit 13e220715e
3 changed files with 3 additions and 3 deletions

View file

@ -1214,7 +1214,7 @@ void emu_cmn_forced_frame(int no_scale, int do_emu)
PicoIn.opt &= ~POPT_ALT_RENDERER; PicoIn.opt &= ~POPT_ALT_RENDERER;
PicoIn.opt |= POPT_ACC_SPRITES; PicoIn.opt |= POPT_ACC_SPRITES;
if (!no_scale) if (!no_scale && currentConfig.scaling)
PicoIn.opt |= POPT_EN_SOFTSCALE; PicoIn.opt |= POPT_EN_SOFTSCALE;
PicoDrawSetOutFormat(PDF_RGB555, 1); PicoDrawSetOutFormat(PDF_RGB555, 1);

View file

@ -294,7 +294,7 @@ void pemu_forced_frame(int no_scale, int do_emu)
PicoIn.opt &= ~0x10; PicoIn.opt &= ~0x10;
PicoIn.opt |= POPT_ACC_SPRITES; PicoIn.opt |= POPT_ACC_SPRITES;
if (!no_scale) if (!no_scale && currentConfig.scaling)
PicoIn.opt |= POPT_EN_SOFTSCALE; PicoIn.opt |= POPT_EN_SOFTSCALE;
currentConfig.EmuOpt |= 0x80; currentConfig.EmuOpt |= 0x80;

View file

@ -691,7 +691,7 @@ void pemu_forced_frame(int no_scale, int do_emu)
PicoIn.opt &= ~POPT_ALT_RENDERER; PicoIn.opt &= ~POPT_ALT_RENDERER;
PicoIn.opt |= POPT_ACC_SPRITES; PicoIn.opt |= POPT_ACC_SPRITES;
if (!no_scale) if (!no_scale && defaultConfig.scaling)
PicoIn.opt |= POPT_EN_SOFTSCALE; PicoIn.opt |= POPT_EN_SOFTSCALE;
currentConfig.EmuOpt |= 0x80; currentConfig.EmuOpt |= 0x80;