Win32 - PPU Viewer - Refresh value defaults to 15, refresh value stored in .cfg file.

This commit is contained in:
adelikat 2008-12-22 03:36:28 +00:00
parent 75a04affe9
commit db0925e13d
3 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,5 @@
---version 2.0.4 yet to be released---
21-dec-2008 - adelikat - Win32 - PPU Viewer - Refresh value default to 15, Refresh value stored in config file
19-dec-2008 - adelikat - Loadbackup function added, Win32 - Undo Loadstate context menu item
19-dec-2008 - adelikat - Backup savestate is made before loading a state
18-dec-2008 - adelikat - win32 - turbo bypasses sound better if muteturbo is checked

View File

@ -48,7 +48,7 @@ extern bool frameAdvanceLagSkip;
extern int ClipSidesOffset;
extern bool movieSubtitles;
extern bool subtitlesOnAVI;
extern int PPUViewRefresh;
extern uint8 gNoBGFillColor;
//window positions and sizes:
@ -213,6 +213,7 @@ static CFGSTRUCT fceuconfig[] = {
AC(subtitlesOnAVI),
AC(bindSavestate),
AC(ClipSidesOffset),
AC(PPUViewRefresh),
//ACS(memwLastfile[2048]),
ENDCFGSTRUCT
};

View File

@ -34,7 +34,8 @@ uint8 *pattern0,*pattern1; //pattern table bitmap arrays
uint8 *ppuv_palette;
static int pindex0=0,pindex1=0;
int PPUViewScanline=0,PPUViewer=0;
int PPUViewSkip,PPUViewRefresh;
int PPUViewSkip;
int PPUViewRefresh = 15;
int mouse_x,mouse_y;
#define PATTERNWIDTH 128