mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-12-25 18:51:50 +01:00
ugly hack to fix problem w/ scaling not updating
This commit is contained in:
parent
d6874eb1c7
commit
bdfd8c963b
@ -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;
|
||||||
|
@ -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 ();
|
||||||
|
Loading…
Reference in New Issue
Block a user