mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Same as GermanAizek's #21912, but using an existing function.
Replaces #21912
This commit is contained in:
1 parent
1297958f9d
commit
e049781a6d
1 file changed
+1
-11
+1
-11
@@ -764,17 +764,7 @@ namespace MIPSInt
|
||||
break;
|
||||
|
||||
case 20: // bitrev
|
||||
{
|
||||
u32 tmp = 0;
|
||||
for (int i = 0; i < 32; i++)
|
||||
{
|
||||
if (R(rt) & (1 << i))
|
||||
{
|
||||
tmp |= (0x80000000 >> i);
|
||||
}
|
||||
}
|
||||
R(rd) = tmp;
|
||||
}
|
||||
R(rd) = ReverseBits32(R(rt));
|
||||
break;
|
||||
|
||||
case 24: // seh
|
||||
|
||||
Reference in new issue
Block a user