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

Method setTotalFrames

pcsx2/Recording/InputRecordingFile.cpp:152–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152void InputRecordingFile::setTotalFrames(u32 frame)
153{
154 if (m_recordingFile == nullptr)
155 {
156 return;
157 }
158 m_totalFrames = frame;
159 fseek(m_recordingFile, s_seekpointTotalFrames, SEEK_SET);
160 fwrite(&m_totalFrames, 4, 1, m_recordingFile);
161 InputRecording::InformGSThread();
162}
163
164bool InputRecordingFile::writeHeader() const
165{

Callers 2

incFrameCounterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected