From 9f01c026260160b57a1399d99d8a2c679bee721e Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Fri, 30 May 2014 22:50:19 -0700 Subject: [PATCH] Don't try to read breakpoint info after exit. Fixes a crash on exit when on a breakpoint. --- Windows/Debugger/Debugger_Lists.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Windows/Debugger/Debugger_Lists.cpp b/Windows/Debugger/Debugger_Lists.cpp index 964258c2e8..012a279456 100644 --- a/Windows/Debugger/Debugger_Lists.cpp +++ b/Windows/Debugger/Debugger_Lists.cpp @@ -455,6 +455,9 @@ int CtrlBreakpointList::getBreakpointIndex(int itemIndex, bool& isMemory) void CtrlBreakpointList::GetColumnText(wchar_t* dest, int row, int col) { + if (!PSP_IsInited()) { + return; + } bool isMemory; int index = getBreakpointIndex(row,isMemory); if (index == -1) return;