MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / handleExceededFrameCounter

Method handleExceededFrameCounter

pcsx2/Recording/InputRecording.cpp:282–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280}
281
282void InputRecording::handleExceededFrameCounter()
283{
284 // if we go past the end, switch to recording mode so nothing is lost
285 if (m_frame_counter >= m_file.getTotalFrames() && m_controls.isReplaying())
286 {
287 m_controls.setRecordMode(false);
288 }
289}
290
291void InputRecording::handleReset()
292{

Callers 1

PollInputOnCPUThreadMethod · 0.80

Calls 3

getTotalFramesMethod · 0.80
isReplayingMethod · 0.80
setRecordModeMethod · 0.80

Tested by

no test coverage detected