EXI_DeviceAGP: Correct constness for CRC8 parameter

This commit is contained in:
Lioncash 2016-07-18 01:41:45 -04:00
parent 37da945609
commit 6eaa1aab5c
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ CEXIAgp::~CEXIAgp()
SaveFileFromEEPROM(gbapath + ".sav"); SaveFileFromEEPROM(gbapath + ".sav");
} }
void CEXIAgp::CRC8(u8* data, u32 size) void CEXIAgp::CRC8(const u8* data, u32 size)
{ {
for (u32 it = 0; it < size; it++) for (u32 it = 0; it < size; it++)
{ {

View File

@ -57,7 +57,7 @@ private:
void LoadFileToEEPROM(const std::string& filename); void LoadFileToEEPROM(const std::string& filename);
void SaveFileFromEEPROM(const std::string& filename); void SaveFileFromEEPROM(const std::string& filename);
void LoadRom(); void LoadRom();
void CRC8(u8* data, u32 size); void CRC8(const u8* data, u32 size);
u8 m_hash = 0; u8 m_hash = 0;
u32 m_current_cmd = 0; u32 m_current_cmd = 0;