mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 13:06:24 +02:00
Fix crash in debugger after unloading the game.
This commit is contained in:
1 parent
2f1389233e
commit
15c0bb1bd0
1 file changed
+3
-1
@@ -672,7 +672,9 @@ bool CtrlStackTraceView::WindowMessage(UINT msg, WPARAM wParam, LPARAM lParam, L
|
||||
|
||||
void CtrlStackTraceView::GetColumnText(wchar_t* dest, int row, int col)
|
||||
{
|
||||
if (row < 0 || row >= (int)frames.size()) {
|
||||
// We should have emptied the list if g_symbolMap is nullptr, but apparently we don't,
|
||||
// so let's have a sanity check here.
|
||||
if (row < 0 || row >= (int)frames.size() || !g_symbolMap) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user