Don't try to read breakpoint info after exit.

Fixes a crash on exit when on a breakpoint.
This commit is contained in:
Unknown W. Brackets committed 2014-05-31 10:03:01 -07:00
1 parent 5dd8ebe2b4
commit 9f01c02626
1 file changed
+3
+3
View File
@@ -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;