mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 23:41:26 +12:00
Fix ppu_interpreter::MTFSFI
Out of bounds error.
This commit is contained in:
parent
798434aada
commit
0c69b7da8f
1 changed files with 4 additions and 3 deletions
|
@ -4762,8 +4762,9 @@ bool ppu_interpreter::MTFSB0(ppu_thread& ppu, ppu_opcode_t op)
|
|||
|
||||
bool ppu_interpreter::MTFSFI(ppu_thread& ppu, ppu_opcode_t op)
|
||||
{
|
||||
const u32 bf = op.crfd * 4;
|
||||
if (bf != 4 * 4)
|
||||
const u32 bf = op.crfd;
|
||||
|
||||
if (bf != 4)
|
||||
{
|
||||
// Do nothing on non-FPCC field (TODO)
|
||||
LOG_WARNING(PPU, "MTFSFI(%d)", op.crfd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue