Merge pull request #7561 from MerryMage/fix-Jit_LoadStore

Jit_LoadStore: Ra needs to be ReadWrite when writeback is required
This commit is contained in:
Pierre Bourdon 2018-11-10 12:06:31 +01:00 committed by GitHub
commit 6e9eb7c07c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ void Jit64::lXXx(UGeckoInstruction inst)
}
}
RCX64Reg Ra = (update && storeAddress) ? gpr.Bind(a, RCMode::Write) : RCX64Reg{};
RCX64Reg Ra = (update && storeAddress) ? gpr.Bind(a, RCMode::ReadWrite) : RCX64Reg{};
RegCache::Realize(opAddress, Ra, Rd);
BitSet32 registersInUse = CallerSavedRegistersInUse();