Automatically delete pointers when savestating.
This commit is contained in:
parent
82a8450758
commit
112c1e9e23
8 changed files with 133 additions and 60 deletions
|
@ -198,10 +198,6 @@ public:
|
|||
}
|
||||
|
||||
void DoState(PointerWrap &p) {
|
||||
// Gotta delete the calls.
|
||||
if (p.mode == p.MODE_READ) {
|
||||
clear();
|
||||
}
|
||||
p.Do(calls_);
|
||||
p.Do(idGen_);
|
||||
p.DoMarker("MipsCallManager");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue