DSPCore: Make IRAM CRC and step counter private

We can construct an API around these two members to allow them to be
private.
This commit is contained in:
Lioncash
2020-12-29 14:32:08 -05:00
parent 5fb1f0bfd3
commit f4e1f48b4f
5 changed files with 15 additions and 9 deletions

View File

@ -77,7 +77,7 @@ void CodeLoaded(DSPCore& dsp, const u8* ptr, size_t size)
{
auto& state = dsp.DSPState();
const u32 iram_crc = Common::HashEctor(ptr, size);
state.iram_crc = iram_crc;
state.SetIRAMCRC(iram_crc);
if (SConfig::GetInstance().m_DumpUCode)
{