mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 04:08:37 +01:00
Correct crash when texture too small loaded in memory tex viewer
Correct current thread PC in the list.
This commit is contained in:
1 parent
cba9baaca6
commit
6339c2fc9a
2 files changed
+6
-1
No files matched your search
@@ -2805,7 +2805,10 @@ std::vector<DebugThreadInfo> GetThreadsInfo()
|
||||
info.name[KERNELOBJECT_MAX_NAME_LENGTH+1] = 0;
|
||||
info.status = t->nt.status;
|
||||
info.entrypoint = t->nt.entrypoint;
|
||||
info.curPC = t->context.pc;
|
||||
if(*iter == currentThread)
|
||||
info.curPC = currentMIPS->pc;
|
||||
else
|
||||
info.curPC = t->context.pc;
|
||||
info.isCurrent = (*iter == currentThread);
|
||||
threadList.push_back(info);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user