Win32 - hooked up Ram Watch AskSave() function to main exit loop

This commit is contained in:
adelikat 2009-11-01 00:56:00 +00:00
parent 327163b60c
commit cf20f9bf88
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{