mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 14:46:49 +01:00
compile fix for my merging of rca287e7957c7
This commit is contained in:
parent
99b202fd2e
commit
1f9586a8ba
@ -245,7 +245,8 @@ void DoState(PointerWrap &p)
|
||||
// if we had to create a temporary device, discard it if we're not loading.
|
||||
// also, if no movie is active, we'll assume the user wants to keep their current devices
|
||||
// instead of the ones they had when the savestate was created.
|
||||
if(p.GetMode() != PointerWrap::MODE_READ)
|
||||
if(p.GetMode() != PointerWrap::MODE_READ ||
|
||||
(!Movie::IsRecordingInput() && !Movie::IsPlayingInput()))
|
||||
{
|
||||
delete pSaveDevice;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user