mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
FifoRecorder: Implement IsRecordingDone()
This commit is contained in:
parent
aac1b386b9
commit
aa8bf71333
@ -63,6 +63,11 @@ void FifoRecorder::StopRecording()
|
||||
m_RequestedRecordingEnd = true;
|
||||
}
|
||||
|
||||
bool FifoRecorder::IsRecordingDone() const
|
||||
{
|
||||
return m_WasRecording && m_File != nullptr;
|
||||
}
|
||||
|
||||
FifoDataFile* FifoRecorder::GetRecordedFile() const
|
||||
{
|
||||
return m_File.get();
|
||||
|
@ -20,6 +20,8 @@ public:
|
||||
void StartRecording(s32 numFrames, CallbackFunc finishedCb);
|
||||
void StopRecording();
|
||||
|
||||
bool IsRecordingDone() const;
|
||||
|
||||
FifoDataFile* GetRecordedFile() const;
|
||||
// Called from video thread
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user