mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06: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:
@ -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)
|
||||||
|
Reference in New Issue
Block a user