win32: fix start-paused commandline

This commit is contained in:
zeromus 2010-04-14 03:59:27 +00:00
parent c034385553
commit 8d72769735
1 changed files with 6 additions and 3 deletions

View File

@ -2718,8 +2718,11 @@ int _main()
if(OpenCore(cmdline.nds_file.c_str()))
{
romloaded = TRUE;
if(!cmdline.start_paused)
NDS_UnPause();
if(cmdline.start_paused)
{
NDS_Pause();
cmdline.start_paused = 0;
}
}
}
@ -3133,7 +3136,7 @@ static BOOL OpenCore(const char* filename)
{
romloaded = TRUE;
if(movieMode == MOVIEMODE_INACTIVE)
Unpause();
Unpause();
// Update the toolbar
MainWindowToolbar->EnableButton(IDM_PAUSE, true);