Automatically delete pointers when savestating.

This commit is contained in:
Unknown W. Brackets 2013-02-04 08:24:32 -08:00
parent 82a8450758
commit 112c1e9e23
8 changed files with 133 additions and 60 deletions

View file

@ -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");