From 61e60549201a828886db265014b2999760241557 Mon Sep 17 00:00:00 2001 From: Sacha Date: Wed, 6 Nov 2013 01:37:53 +1000 Subject: [PATCH] Revert change to WSBH as we don't have a swap16 that takes/returns u32. --- Core/MIPS/MIPSInt.cpp | 2 +- native | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/MIPS/MIPSInt.cpp b/Core/MIPS/MIPSInt.cpp index 9fe0ca087..99c2fe075 100644 --- a/Core/MIPS/MIPSInt.cpp +++ b/Core/MIPS/MIPSInt.cpp @@ -787,7 +787,7 @@ namespace MIPSInt switch (op & 0x3ff) { case 0xA0: //wsbh - R(rd) = swap16(R(rt)); + R(rd) = ((R(rt) & 0xFF00FF00) >> 8) | ((R(rt) & 0x00FF00FF) << 8); break; case 0xE0: //wsbw R(rd) = swap32(R(rt)); diff --git a/native b/native index f0e47c2ce..d323d5974 160000 --- a/native +++ b/native @@ -1 +1 @@ -Subproject commit f0e47c2cede7313a057df66a6e01ba173df1e001 +Subproject commit d323d5974449661e509a054dab891253dd301f27