| 82 | } |
| 83 | |
| 84 | void 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 | |
| 96 | bool InputRecordingFile::openNew(const std::string& path, bool fromSavestate) |
| 97 | { |