Skip to content

Commit

Permalink
Merge pull request RPCS3#870 from tambry/SPRFixes
Browse files Browse the repository at this point in the history
Fix for TB SPR and disable writing to TB SPR
  • Loading branch information
Hykem committed Nov 18, 2014
2 parents b019ee0 + f99353f commit 1d61484
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpcs3/Emu/Cell/PPUInterpreter.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class PPUInterpreter : public PPUOpcodes
case 0x008: return CPU.LR;
case 0x009: return CPU.CTR;
case 0x100: return CPU.USPRG0;
case 0x10C: return CPU.TBL;
case 0x10C: return get_time();
}

UNK(fmt::Format("ReadSPR error: Unknown SPR 0x%x!", n));
Expand All @@ -164,7 +164,7 @@ class PPUInterpreter : public PPUOpcodes
case 0x008: CPU.LR = value; return;
case 0x009: CPU.CTR = value; return;
case 0x100: CPU.USPRG0 = value; return;
case 0x10C: CPU.TBL = value; return;
case 0x10C: UNK("WriteSPR: Write to time-based SPR. Report this to a developer!"); return;
}

UNK(fmt::Format("WriteSPR error: Unknown SPR 0x%x!", n));
Expand Down

0 comments on commit 1d61484

Please sign in to comment.