Win32 - hooked up Ram Watch AskSave() function to main exit loop
This commit is contained in:
parent
327163b60c
commit
cf20f9bf88
|
@ -397,7 +397,7 @@ void DoFCEUExit()
|
|||
if(exiting) //Eh, oops. I'll need to try to fix this later.
|
||||
return;
|
||||
|
||||
if (CloseMemoryWatch()) //If user was asked to save changes in the memory watch dialog, and chose cancel, don't close FCEUX!
|
||||
if (CloseMemoryWatch() && AskSave()) //If user was asked to save changes in the memory watch dialog or ram watch, and chose cancel, don't close FCEUX!
|
||||
{
|
||||
if(goptions & GOO_CONFIRMEXIT)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue