Bläddra i källkod

frontend, fix scaling option handling

kub 3 år sedan
förälder
incheckning
13e220715e
3 ändrade filer med 3 tillägg och 3 borttagningar
  1. 1 1
      platform/common/emu.c
  2. 1 1
      platform/gizmondo/emu.c
  3. 1 1
      platform/psp/emu.c

+ 1 - 1
platform/common/emu.c

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

+ 1 - 1
platform/gizmondo/emu.c

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

+ 1 - 1
platform/psp/emu.c

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