Common/Hash: Namespace code under the Common namespace

Brings more common code under the Common namespace.
This commit is contained in:
Lioncash 2018-05-16 15:22:13 -04:00
commit 011ee110bc
10 changed files with 33 additions and 23 deletions

View file

@ -1426,8 +1426,10 @@ void GetSettings()
file_coef.Close();
for (u16& entry : coef)
entry = Common::swap16(entry);
s_DSPiromHash = HashAdler32(reinterpret_cast<u8*>(irom.data()), DSP::DSP_IROM_BYTE_SIZE);
s_DSPcoefHash = HashAdler32(reinterpret_cast<u8*>(coef.data()), DSP::DSP_COEF_BYTE_SIZE);
s_DSPiromHash =
Common::HashAdler32(reinterpret_cast<u8*>(irom.data()), DSP::DSP_IROM_BYTE_SIZE);
s_DSPcoefHash =
Common::HashAdler32(reinterpret_cast<u8*>(coef.data()), DSP::DSP_COEF_BYTE_SIZE);
}
else
{