Win32 - save Turbo frameskip amount to config so it can be customized by user
This commit is contained in:
parent
38c4c3d228
commit
a7bb263e13
|
@ -1,3 +1,8 @@
|
|||
12-june-2010 - adelikat - Save Turbo frame skip amount to config so that it can be customized by user
|
||||
12-june-2010 - adelikat - Lua - fix speed.mode() so that normal turns off turbo
|
||||
12-june-2010 - CaH4e3 - Fix Young Indiana Jones Chronicals
|
||||
10-june-2010 - Deign - Fix Ram Search to only display valid RAM addresses (0000-07FF and 6000-7FFF)
|
||||
10-june-2010 - zeromus - add luasocket to built in lua library
|
||||
09-june-2010 - adelikat - Movies - Fixed read-only loadstate error logic & messages
|
||||
07-june-2010 - mart0258 - Movie loading now faster - TAS savestates moved from class MovieRecord to class MovieData
|
||||
07-june-2010 - adelikat - Lua - new function: gui.screenshotas()
|
||||
|
|
|
@ -66,6 +66,7 @@ extern bool replaceP2StartWithMicrophone;
|
|||
extern bool SingleInstanceOnly;
|
||||
extern bool oldInputDisplay;
|
||||
extern bool fullSaveStateLoads;
|
||||
extern int frameSkipAmt;
|
||||
|
||||
//window positions and sizes:
|
||||
extern int ChtPosX,ChtPosY;
|
||||
|
@ -235,6 +236,7 @@ static CFGSTRUCT fceuconfig[] = {
|
|||
AC(allowUDLR),
|
||||
AC(debuggerSaveLoadDEBFiles),
|
||||
AC(fullSaveStateLoads),
|
||||
AC(frameSkipAmt),
|
||||
|
||||
//window positions
|
||||
AC(ChtPosX),
|
||||
|
|
|
@ -116,7 +116,7 @@ void FCEUD_Update(uint8 *XBuf, int32 *Buffer, int Count);
|
|||
void ApplyDefaultCommandMapping(void);
|
||||
|
||||
// Internal variables
|
||||
|
||||
int frameSkipAmt = 18;
|
||||
uint8 *xbsave = NULL;
|
||||
int eoptions = EO_BGRUN | EO_FORCEISCALE;
|
||||
|
||||
|
@ -825,7 +825,7 @@ doloopy:
|
|||
{
|
||||
if (!frameSkipCounter)
|
||||
{
|
||||
frameSkipCounter = 18;
|
||||
frameSkipCounter = frameSkipAmt;
|
||||
skippy = 0;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue