mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 10:43:44 +01:00
If the mipscall id doesn't match, don't create.
Fixes a crash when savestating.
This commit is contained in:
1 parent
2a9c640739
commit
72921e0a3c
1 file changed
+4
-1
@@ -163,7 +163,10 @@ public:
|
||||
return id;
|
||||
}
|
||||
MipsCall *get(u32 id) {
|
||||
return calls_[id];
|
||||
auto iter = calls_.find(id);
|
||||
if (iter == calls_.end())
|
||||
return NULL;
|
||||
return iter->second;
|
||||
}
|
||||
MipsCall *pop(u32 id) {
|
||||
MipsCall *temp = calls_[id];
|
||||
|
||||
Reference in new issue
Block a user