EE Int Cache: Fix crash when booting the BIOS in 32bit

This commit is contained in:
refractionpcsx2 2020-10-10 15:27:40 +01:00
parent 7e2ccd64e8
commit 057791607b
1 changed files with 1 additions and 0 deletions

View File

@ -434,6 +434,7 @@ void CACHE()
if ((pCache[index].tag[way] & (DIRTY_FLAG | VALID_FLAG)) == (DIRTY_FLAG | VALID_FLAG)) // Dirty
{
CACHE_LOG("DXLTG Dirty WriteBack! PPF %x", ppf);
ppf = (ppf & 0x7fffffff);
*reinterpret_cast<mem64_t*>(ppf) = pCache[index].data[way][0].b8._u64[0];
*reinterpret_cast<mem64_t*>(ppf + 8) = pCache[index].data[way][0].b8._u64[1];
*reinterpret_cast<mem64_t*>(ppf + 16) = pCache[index].data[way][1].b8._u64[0];