ugly hack to fix problem w/ scaling not updating

This commit is contained in:
dborth 2008-09-10 17:33:35 +00:00
parent d6874eb1c7
commit bdfd8c963b
2 changed files with 50 additions and 46 deletions

View File

@ -95,6 +95,7 @@ DefaultSettings ()
Settings.TurboSkipFrames = 19; Settings.TurboSkipFrames = 19;
Settings.DisplayFrameRate = false; Settings.DisplayFrameRate = false;
Settings.AutoDisplayMessages = 1; // SNES9x 1.51 Settings.AutoDisplayMessages = 1; // SNES9x 1.51
Settings.InitialInfoStringTimeout = 200; // # frames to display messages for
// Frame timings in 50hz and 60hz cpu mode // Frame timings in 50hz and 60hz cpu mode
Settings.FrameTimePAL = 20000; Settings.FrameTimePAL = 20000;

View File

@ -20,6 +20,7 @@
#include "memmap.h" #include "memmap.h"
#include "aram.h" #include "aram.h"
#include "snes9xGX.h" #include "snes9xGX.h"
#include "video.h"
#include "gui.h" #include "gui.h"
@ -793,6 +794,8 @@ update_video (int width, int height)
oldvwidth = vwidth; oldvwidth = vwidth;
oldvheight = vheight; oldvheight = vheight;
CheckVideo = 0; CheckVideo = 0;
clearscreen (); // this hack fixes my 'not updating scaling' problem
} }
GX_InvalidateTexAll (); GX_InvalidateTexAll ();