mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
frontend, fix scaling option handling
This commit is contained in:
parent
47677a2ab1
commit
13e220715e
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue