mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 08:43:38 +01:00
win32-gl-ui: Debugger kinda works again
This commit is contained in:
1 parent
32a599c957
commit
949cb2f9eb
3 files changed
+14
-7
No files matched your search
@@ -138,7 +138,7 @@ void WindowsHost::BeginFrame()
|
||||
void WindowsHost::BootDone()
|
||||
{
|
||||
symbolMap.SortSymbols();
|
||||
SendMessage(MainWindow::GetHWND(), WM_USER+1, 0,0);
|
||||
PostMessage(MainWindow::GetHWND(), WM_USER+1, 0,0);
|
||||
}
|
||||
|
||||
static std::string SymbolMapFilename(const char *currentFilename)
|
||||
|
||||
@@ -500,12 +500,10 @@ namespace MainWindow
|
||||
if (W32Util::BrowseForFileName(true, hWnd, "Load .MAP",0,"Maps\0*.map\0All files\0*.*\0\0","map",fn)) {
|
||||
symbolMap.LoadSymbolMap(fn.c_str());
|
||||
// HLE_PatchFunctions();
|
||||
for (int i=0; i<numCPUs; i++)
|
||||
if (disasmWindow[i])
|
||||
disasmWindow[i]->NotifyMapLoaded();
|
||||
for (int i=0; i<numCPUs; i++)
|
||||
if (memoryWindow[i])
|
||||
memoryWindow[i]->NotifyMapLoaded();
|
||||
if (disasmWindow[0])
|
||||
disasmWindow[0]->NotifyMapLoaded();
|
||||
if (memoryWindow[0])
|
||||
memoryWindow[0]->NotifyMapLoaded();
|
||||
}
|
||||
break;
|
||||
case ID_DEBUG_SAVEMAPFILE:
|
||||
@@ -695,6 +693,8 @@ namespace MainWindow
|
||||
PostMessage(hwndMain, WM_COMMAND, ID_EMULATION_RUN, 0);
|
||||
UpdateMenus();
|
||||
break;
|
||||
|
||||
|
||||
case WM_MENUSELECT:
|
||||
UpdateMenus();
|
||||
break;
|
||||
|
||||
@@ -79,6 +79,13 @@ EmuScreen::EmuScreen(const std::string &filename) : invalid_(true)
|
||||
return;
|
||||
}
|
||||
|
||||
host->BootDone();
|
||||
if (g_Config.bAutoRun) {
|
||||
Core_EnableStepping(false);
|
||||
} else {
|
||||
Core_EnableStepping(true);
|
||||
}
|
||||
|
||||
LayoutGamepad(dp_xres, dp_yres);
|
||||
|
||||
NOTICE_LOG(BOOT, "Loading %s...", fileToStart.c_str());
|
||||
|
||||
Reference in new issue
Block a user