From f6abfb94442f4ea29855d512d3f3a7236ee47cc6 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Thu, 20 Feb 2014 01:02:39 -0800 Subject: [PATCH] Fix hang if you use disasm goto outside game. --- Windows/Debugger/Debugger_Disasm.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Windows/Debugger/Debugger_Disasm.cpp b/Windows/Debugger/Debugger_Disasm.cpp index 97a233af20..566d2f1f83 100644 --- a/Windows/Debugger/Debugger_Disasm.cpp +++ b/Windows/Debugger/Debugger_Disasm.cpp @@ -610,6 +610,9 @@ BOOL CDisasm::DlgProc(UINT message, WPARAM wParam, LPARAM lParam) } case WM_DEB_GOTOADDRESSEDIT: { + if (!PSP_IsInited()) { + break; + } wchar_t szBuffer[256]; CtrlDisAsmView *ptr = CtrlDisAsmView::getFrom(GetDlgItem(m_hDlg,IDC_DISASMVIEW)); GetWindowText(GetDlgItem(m_hDlg,IDC_ADDRESS),szBuffer,256);