win32: fix auto ramwatch load getting ignored (and making it always autoload)
This commit is contained in:
parent
7c24040c97
commit
f068dfda3b
|
@ -1368,9 +1368,12 @@ BOOL LoadROM(char * filename, const char *cflash_disk_image)
|
||||||
lagframecounter=0;
|
lagframecounter=0;
|
||||||
UpdateRecentRoms(filename);
|
UpdateRecentRoms(filename);
|
||||||
osd->setRotate(GPU_rotation);
|
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);
|
OpenRWRecentFile(0);
|
||||||
RamWatchHWnd = CreateDialog(hAppInst, MAKEINTRESOURCE(IDD_RAMWATCH), MainWindow->getHWnd(), (DLGPROC) RamWatchProc);
|
RamWatchHWnd = CreateDialog(hAppInst, MAKEINTRESOURCE(IDD_RAMWATCH), MainWindow->getHWnd(), (DLGPROC) RamWatchProc);
|
||||||
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue