General: Apply the const specifier where applicable

This commit is contained in:
Lioncash committed 2015-04-15 02:04:03 -04:00
1 parent 7506c386cf
commit b0613bb1c8
39 files changed
+75 -75

No files matched your search

+1 -1
View File
@@ -67,7 +67,7 @@ public:
void AddFrame(const FifoFrameInfo &frameInfo);
const FifoFrameInfo &GetFrame(u32 frame) const { return m_Frames[frame]; }
u32 GetFrameCount() { return static_cast<u32>(m_Frames.size()); }
u32 GetFrameCount() const { return static_cast<u32>(m_Frames.size()); }
bool Save(const std::string& filename);
+1 -1
View File
@@ -36,7 +36,7 @@ public:
void SetVideoMemory(u32 *bpMem, u32 *cpMem, u32 *xfMem, u32 *xfRegs, u32 xfRegsSize);
// Checked once per frame prior to callng EndFrame()
bool IsRecording() { return m_IsRecording; }
bool IsRecording() const { return m_IsRecording; }
static FifoRecorder &GetInstance();