From f068dfda3b36d50f550b70ac35e4aae0e767940e Mon Sep 17 00:00:00 2001 From: zeromus Date: Fri, 8 May 2009 05:32:00 +0000 Subject: [PATCH] win32: fix auto ramwatch load getting ignored (and making it always autoload) --- desmume/src/windows/main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/desmume/src/windows/main.cpp b/desmume/src/windows/main.cpp index ea92d7af2..3daac52d4 100644 --- a/desmume/src/windows/main.cpp +++ b/desmume/src/windows/main.cpp @@ -1368,9 +1368,12 @@ BOOL LoadROM(char * filename, const char *cflash_disk_image) lagframecounter=0; UpdateRecentRoms(filename); osd->setRotate(GPU_rotation); - if (AutoRWLoad) //Open Ram Watch if its auto-load setting is checked + if (AutoRWLoad) + { + //Open Ram Watch if its auto-load setting is checked OpenRWRecentFile(0); RamWatchHWnd = CreateDialog(hAppInst, MAKEINTRESOURCE(IDD_RAMWATCH), MainWindow->getHWnd(), (DLGPROC) RamWatchProc); + } return TRUE; }