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