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

Method close

pcsx2/Recording/InputRecordingFile.cpp:52–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52bool InputRecordingFile::close() noexcept
53{
54 if (m_recordingFile == nullptr)
55 {
56 return false;
57 }
58 fclose(m_recordingFile);
59 m_recordingFile = nullptr;
60 m_filename.clear();
61 return true;
62}
63
64const std::string& InputRecordingFile::getFilename() const noexcept
65{

Callers 2

playMethod · 0.45
closeActiveFileMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected