From 1f9586a8baa6536a725ebd7b71f65dc160a00e3d Mon Sep 17 00:00:00 2001 From: nitsuja Date: Wed, 4 Jan 2012 09:13:11 -0800 Subject: [PATCH] compile fix for my merging of rca287e7957c7 --- Source/Core/Core/Src/HW/SI.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/HW/SI.cpp b/Source/Core/Core/Src/HW/SI.cpp index e4263a0e16..84a3744d6f 100644 --- a/Source/Core/Core/Src/HW/SI.cpp +++ b/Source/Core/Core/Src/HW/SI.cpp @@ -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; }