FifoRecorder: move function definitions out of header
This commit is contained in:
parent
a47ce0d625
commit
738acb6c07
|
@ -63,6 +63,11 @@ void FifoRecorder::StopRecording()
|
|||
m_RequestedRecordingEnd = true;
|
||||
}
|
||||
|
||||
FifoDataFile* FifoRecorder::GetRecordedFile() const
|
||||
{
|
||||
return m_File.get();
|
||||
}
|
||||
|
||||
void FifoRecorder::WriteGPCommand(const u8* data, u32 size)
|
||||
{
|
||||
if (!m_SkipNextData)
|
||||
|
@ -205,6 +210,11 @@ void FifoRecorder::SetVideoMemory(const u32* bpMem, const u32* cpMem, const u32*
|
|||
FifoRecordAnalyzer::Initialize(cpMem);
|
||||
}
|
||||
|
||||
bool FifoRecorder::IsRecording() const
|
||||
{
|
||||
return m_IsRecording;
|
||||
}
|
||||
|
||||
FifoRecorder& FifoRecorder::GetInstance()
|
||||
{
|
||||
return instance;
|
||||
|
|
|
@ -20,7 +20,7 @@ public:
|
|||
void StartRecording(s32 numFrames, CallbackFunc finishedCb);
|
||||
void StopRecording();
|
||||
|
||||
FifoDataFile* GetRecordedFile() const { return m_File.get(); }
|
||||
FifoDataFile* GetRecordedFile() const;
|
||||
// Called from video thread
|
||||
|
||||
// Must write one full GP command at a time
|
||||
|
@ -41,7 +41,7 @@ public:
|
|||
u32 xfRegsSize, const u8* texMem);
|
||||
|
||||
// Checked once per frame prior to callng EndFrame()
|
||||
bool IsRecording() const { return m_IsRecording; }
|
||||
bool IsRecording() const;
|
||||
static FifoRecorder& GetInstance();
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in New Issue