summaryrefslogtreecommitdiffstats
path: root/src/core/arm/interpreter
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-02-13 14:08:21 +0100
committerLioncash <mathew1800@gmail.com>2015-02-13 15:11:12 +0100
commita75e1ff6e6b33b3e4751b82e0ab91b8dad169fc6 (patch)
treefb2a89cbc953be437c43db3b16654be8f4d7efb8 /src/core/arm/interpreter
parentMerge pull request #569 from lioncash/modeswitch (diff)
downloadyuzu-a75e1ff6e6b33b3e4751b82e0ab91b8dad169fc6.tar
yuzu-a75e1ff6e6b33b3e4751b82e0ab91b8dad169fc6.tar.gz
yuzu-a75e1ff6e6b33b3e4751b82e0ab91b8dad169fc6.tar.bz2
yuzu-a75e1ff6e6b33b3e4751b82e0ab91b8dad169fc6.tar.lz
yuzu-a75e1ff6e6b33b3e4751b82e0ab91b8dad169fc6.tar.xz
yuzu-a75e1ff6e6b33b3e4751b82e0ab91b8dad169fc6.tar.zst
yuzu-a75e1ff6e6b33b3e4751b82e0ab91b8dad169fc6.zip
Diffstat (limited to 'src/core/arm/interpreter')
-rw-r--r--src/core/arm/interpreter/arminit.cpp3
-rw-r--r--src/core/arm/interpreter/armsupp.cpp3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/core/arm/interpreter/arminit.cpp b/src/core/arm/interpreter/arminit.cpp
index d3174c9a0..abafe226e 100644
--- a/src/core/arm/interpreter/arminit.cpp
+++ b/src/core/arm/interpreter/arminit.cpp
@@ -15,6 +15,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#include <cstring>
#include "core/arm/skyeye_common/armdefs.h"
#include "core/arm/skyeye_common/armemu.h"
@@ -23,7 +24,7 @@
\***************************************************************************/
ARMul_State* ARMul_NewState(ARMul_State* state)
{
- memset (state, 0, sizeof (ARMul_State));
+ memset(state, 0, sizeof(ARMul_State));
state->Emulate = RUN;
for (unsigned int i = 0; i < 16; i++) {
diff --git a/src/core/arm/interpreter/armsupp.cpp b/src/core/arm/interpreter/armsupp.cpp
index fd90fb0a4..ed4f6c2a2 100644
--- a/src/core/arm/interpreter/armsupp.cpp
+++ b/src/core/arm/interpreter/armsupp.cpp
@@ -16,9 +16,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "core/arm/skyeye_common/armdefs.h"
-#include "core/arm/skyeye_common/armemu.h"
-#include "core/arm/disassembler/arm_disasm.h"
-#include "core/mem_map.h"
// Unsigned sum of absolute difference
u8 ARMul_UnsignedAbsoluteDifference(u8 left, u8 right)