mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-13 15:41:18 +00:00
Tiny memleak fix?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4733 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
56fb509729
commit
4d6b14cc97
@ -116,8 +116,6 @@ void LoadBufferStateCallback(u64 userdata, int cyclesLate)
|
|||||||
PointerWrap p(&ptr, PointerWrap::MODE_READ);
|
PointerWrap p(&ptr, PointerWrap::MODE_READ);
|
||||||
DoState(p);
|
DoState(p);
|
||||||
|
|
||||||
cur_buffer = NULL;
|
|
||||||
|
|
||||||
Core::DisplayMessage("Loaded state", 2000);
|
Core::DisplayMessage("Loaded state", 2000);
|
||||||
state_op_in_progress = false;
|
state_op_in_progress = false;
|
||||||
}
|
}
|
||||||
@ -147,7 +145,6 @@ void SaveBufferStateCallback(u64 userdata, int cyclesLate)
|
|||||||
p.SetMode(PointerWrap::MODE_WRITE);
|
p.SetMode(PointerWrap::MODE_WRITE);
|
||||||
DoState(p);
|
DoState(p);
|
||||||
|
|
||||||
cur_buffer = NULL;
|
|
||||||
state_op_in_progress = false;
|
state_op_in_progress = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user