From 0c4cb4373912e6bf7cc3bde179c2ea9dc8eddafb Mon Sep 17 00:00:00 2001 From: zeromus Date: Thu, 18 Jun 2015 06:29:46 +0000 Subject: [PATCH] oops --- trunk/src/fceu.cpp | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/trunk/src/fceu.cpp b/trunk/src/fceu.cpp index 1fe45473..876b2030 100644 --- a/trunk/src/fceu.cpp +++ b/trunk/src/fceu.cpp @@ -53,23 +53,11 @@ extern void ResetDebugStatisticsCounters(); extern void SetMainWindowText(); extern bool isTaseditorRecording(); -//----------- -//overclocking-related -// overclock the console by adding dummy scanlines to PPU loop -// disables DMC DMA and WaveHi filling for these dummies -// doesn't work with new PPU -bool overclocked = 0; -// 7-bit samples have priority over overclocking -bool skip_7bit_overclocking = 1; -int normalscanlines; -int extrascanlines = 0; -int totalscanlines; -//------------ - extern int32 fps_scale; extern int32 fps_scale_unpaused; extern int32 fps_scale_frameadvance; #endif + extern void RefreshThrottleFPS(); #ifdef _S9XLUA_H @@ -102,6 +90,19 @@ extern void RefreshThrottleFPS(); using namespace std; +//----------- +//overclocking-related +// overclock the console by adding dummy scanlines to PPU loop +// disables DMC DMA and WaveHi filling for these dummies +// doesn't work with new PPU +bool overclocked = 0; +// 7-bit samples have priority over overclocking +bool skip_7bit_overclocking = 1; +int normalscanlines; +int extrascanlines = 0; +int totalscanlines; +//------------ + int AFon = 1, AFoff = 1, AutoFireOffset = 0; //For keeping track of autofire settings bool justLagged = false; bool frameAdvanceLagSkip = false; //If this is true, frame advance will skip over lag frame (i.e. it will emulate 2 frames instead of 1)