mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-21 18:29:05 +02:00
Don't try to read breakpoint info after exit.
Fixes a crash on exit when on a breakpoint.
This commit is contained in:
1 parent
5dd8ebe2b4
commit
9f01c02626
1 file changed
+3
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user