mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-29 22:20:48 +00:00
Fix ppu_rotate_mask
This commit is contained in:
parent
63be05d5d3
commit
bc3b70c338
@ -63,7 +63,7 @@ union ppu_opcode_t
|
|||||||
|
|
||||||
constexpr u64 ppu_rotate_mask(u32 mb, u32 me)
|
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)
|
constexpr u32 ppu_decode(u32 inst)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user