From cf20f9bf88cfe487f7c95e2a370b642899f46199 Mon Sep 17 00:00:00 2001 From: adelikat Date: Sun, 1 Nov 2009 00:56:00 +0000 Subject: [PATCH] Win32 - hooked up Ram Watch AskSave() function to main exit loop --- src/drivers/win/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/win/main.cpp b/src/drivers/win/main.cpp index bb3785f8..7de64df6 100644 --- a/src/drivers/win/main.cpp +++ b/src/drivers/win/main.cpp @@ -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) {