mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 08:09:19 +00:00
Fix to R3312. I should be more careful next time...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3331 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
4e98655aa3
commit
2ff53b2198
1 changed files with 3 additions and 2 deletions
|
@ -259,8 +259,9 @@ InstLoc IRBuilder::FoldZeroOp(unsigned Opcode, unsigned extra) {
|
||||||
return FRegCache[extra];
|
return FRegCache[extra];
|
||||||
}
|
}
|
||||||
if (Opcode == LoadFRegDENToZero) {
|
if (Opcode == LoadFRegDENToZero) {
|
||||||
// cant use cache here
|
FRegCacheStore[extra] = 0; // prevent previous store operation from zapping
|
||||||
return EmitZeroOp(LoadFRegDENToZero, extra);
|
FRegCache[extra] = EmitZeroOp(LoadFRegDENToZero, extra);
|
||||||
|
return FRegCache[extra];
|
||||||
}
|
}
|
||||||
if (Opcode == LoadCarry) {
|
if (Opcode == LoadCarry) {
|
||||||
if (!CarryCache)
|
if (!CarryCache)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue