mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 02:33:43 +01:00
Crashfixes
This commit is contained in:
1 parent
e9bc28f629
commit
8081ebc265
3 files changed
+7
-2
No files matched your search
@@ -163,6 +163,11 @@ namespace MIPSStackWalk {
|
||||
|
||||
std::vector<StackFrame> Walk(u32 pc, u32 ra, u32 sp, u32 threadEntry, u32 threadStackTop) {
|
||||
std::vector<StackFrame> frames;
|
||||
|
||||
if (!Memory::IsValidAddress(pc) || !Memory::IsValidAddress(sp) || !Memory::IsValidAddress(ra)) {
|
||||
return frames;
|
||||
}
|
||||
|
||||
StackFrame current;
|
||||
current.pc = pc;
|
||||
current.sp = sp;
|
||||
|
||||
Reference in new issue
Block a user