mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 07:20:49 +00:00
Implement wsbh
This commit is contained in:
parent
e370a1a8aa
commit
945d9b6762
@ -721,6 +721,9 @@ namespace MIPSInt
|
||||
|
||||
switch (op & 0x3ff)
|
||||
{
|
||||
case 0xA0: //wsbh
|
||||
R(rd) = ((R(rt) & 0xFF00FF00) >> 8) | ((R(rt) & 0x00FF00FF) << 8);
|
||||
break;
|
||||
case 0xE0: //wsbw
|
||||
R(rd) = _byteswap_ulong(R(rt));
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user