mirror of https://github.com/PCSX2/pcsx2.git
Recording: Clean up warnings
This commit is contained in:
parent
11cf244e97
commit
9b97c157f2
|
@ -184,12 +184,15 @@ void InputRecording::IncrementFrameCounter()
|
|||
frameCounter++;
|
||||
switch (state)
|
||||
{
|
||||
case InputRecordingMode::Recording:
|
||||
inputRecordingData.SetTotalFrames(frameCounter);
|
||||
[[fallthrough]];
|
||||
case InputRecordingMode::Replaying:
|
||||
if (frameCounter == inputRecordingData.GetTotalFrames())
|
||||
incrementUndo = false;
|
||||
case InputRecordingMode::Recording:
|
||||
inputRecordingData.SetTotalFrames(frameCounter);
|
||||
[[fallthrough]];
|
||||
case InputRecordingMode::Replaying:
|
||||
if (frameCounter == inputRecordingData.GetTotalFrames())
|
||||
incrementUndo = false;
|
||||
break;
|
||||
case InputRecordingMode::NotActive: // Does nothing but keep GCC happy.
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue