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

+2 -2
View File
@@ -15,8 +15,8 @@ public:
CDolLoader(u8* _pBuffer, u32 _Size);
~CDolLoader();
bool IsWii() { return m_isWii; }
u32 GetEntryPoint() { return m_dolheader.entryPoint; }
bool IsWii() const { return m_isWii; }
u32 GetEntryPoint() const { return m_dolheader.entryPoint; }
// Load into emulated memory
void Load();
+1 -1
View File
@@ -69,7 +69,7 @@ public:
int GetSectionSize(SectionID section) const { return sections[section].sh_size; }
SectionID GetSectionByName(const char* name, int firstSection = 0) const; //-1 for not found
bool DidRelocate()
bool DidRelocate() const
{
return bRelocate;
}