* win32: fixed fceux.cfg loading bug caused by r2689
* Taseditor: straighten out pause_frame logic (seriously)
This commit is contained in:
parent
f5339a36d6
commit
39414012b1
|
@ -641,6 +641,11 @@ int main(int argc,char *argv[])
|
|||
// Get the base directory
|
||||
GetBaseDirectory();
|
||||
|
||||
// load fceux.cfg
|
||||
sprintf(TempArray,"%s\\%s",BaseDirectory.c_str(),cfgFile.c_str());
|
||||
LoadConfig(TempArray);
|
||||
//initDirectories();
|
||||
|
||||
// Parse the commandline arguments
|
||||
t = ParseArgies(argc, argv);
|
||||
|
||||
|
@ -648,8 +653,8 @@ int main(int argc,char *argv[])
|
|||
|
||||
if (ConfigToLoad)
|
||||
{
|
||||
// alternative config file specified
|
||||
cfgFile.assign(ConfigToLoad);
|
||||
//initDirectories();
|
||||
// Load the config information
|
||||
sprintf(TempArray,"%s\\%s",BaseDirectory.c_str(),cfgFile.c_str());
|
||||
LoadConfig(TempArray);
|
||||
|
@ -679,12 +684,6 @@ int main(int argc,char *argv[])
|
|||
FCEUI_SetPCMVolume(soundPCMvol);
|
||||
}
|
||||
|
||||
if (!ConfigToLoad)
|
||||
{
|
||||
sprintf(TempArray,"%s\\%s",BaseDirectory.c_str(),cfgFile.c_str());
|
||||
LoadConfig(TempArray);
|
||||
}
|
||||
|
||||
//Since a game doesn't have to be loaded before the GUI can be used, make
|
||||
//sure the temporary input type variables are set.
|
||||
ParseGIInput(NULL);
|
||||
|
|
|
@ -312,7 +312,7 @@ void PLAYBACK::MiddleButtonClick()
|
|||
jump(selection_beginning);
|
||||
SeekingStart(saved_currFrameCounter);
|
||||
}
|
||||
} else if (GetLostPosition() > currFrameCounter && greenzone.SavestateIsEmpty(GetLostPosition()))
|
||||
} else if (GetLostPosition() >= greenzone.GetSize())
|
||||
{
|
||||
RestorePosition();
|
||||
} else
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
call SubWCRev.bat
|
||||
call archive.bat
|
||||
call upload.bat %1
|
Loading…
Reference in New Issue