General: Apply the const specifier where applicable

This commit is contained in:
Lioncash
2015-04-15 00:38:21 -04:00
parent 7506c386cf
commit b0613bb1c8
39 changed files with 75 additions and 75 deletions

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();

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;
}