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

Method incrementUndoCount

pcsx2/Recording/InputRecordingFile.cpp:84–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void InputRecordingFile::incrementUndoCount()
85{
86 m_undoCount++;
87 if (m_recordingFile == nullptr)
88 {
89 return;
90 }
91 fseek(m_recordingFile, s_seekpointUndoCount, SEEK_SET);
92 fwrite(&m_undoCount, 4, 1, m_recordingFile);
93 InputRecording::InformGSThread();
94}
95
96bool InputRecordingFile::openNew(const std::string& path, bool fromSavestate)
97{

Callers 1

incFrameCounterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected