Skip to content

Commit

Permalink
Fix ppu_rotate_mask
Browse files Browse the repository at this point in the history
  • Loading branch information
elad335 authored and Nekotekina committed Apr 14, 2020
1 parent 63be05d commit bc3b70c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpcs3/Emu/Cell/PPUOpcodes.h
Expand Up @@ -63,7 +63,7 @@ union ppu_opcode_t

constexpr u64 ppu_rotate_mask(u32 mb, u32 me)
{
return std::rotl<u64>(~0ull << (~(me - mb) & 63), mb);
return std::rotr<u64>(~0ull << (~(me - mb) & 63), mb);
}

constexpr u32 ppu_decode(u32 inst)
Expand Down

0 comments on commit bc3b70c

Please sign in to comment.