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)