summaryrefslogtreecommitdiffstats
path: root/src/core/arm/interpreter/armsupp.cpp
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-04-25 23:15:19 +0200
committerbunnei <ericbunnie@gmail.com>2014-04-25 23:15:19 +0200
commitcb0663de5147f10533ecdbf6f58865f7cbe0241c (patch)
tree30a122d3da59134e431ab2e6ef389d8f00467038 /src/core/arm/interpreter/armsupp.cpp
parentadded disassembly to unimplemented instruction (diff)
downloadyuzu-cb0663de5147f10533ecdbf6f58865f7cbe0241c.tar
yuzu-cb0663de5147f10533ecdbf6f58865f7cbe0241c.tar.gz
yuzu-cb0663de5147f10533ecdbf6f58865f7cbe0241c.tar.bz2
yuzu-cb0663de5147f10533ecdbf6f58865f7cbe0241c.tar.lz
yuzu-cb0663de5147f10533ecdbf6f58865f7cbe0241c.tar.xz
yuzu-cb0663de5147f10533ecdbf6f58865f7cbe0241c.tar.zst
yuzu-cb0663de5147f10533ecdbf6f58865f7cbe0241c.zip
Diffstat (limited to 'src/core/arm/interpreter/armsupp.cpp')
-rw-r--r--src/core/arm/interpreter/armsupp.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/arm/interpreter/armsupp.cpp b/src/core/arm/interpreter/armsupp.cpp
index 48e55c63a..b2bbedc18 100644
--- a/src/core/arm/interpreter/armsupp.cpp
+++ b/src/core/arm/interpreter/armsupp.cpp
@@ -20,7 +20,7 @@
//#include "ansidecl.h"
#include "skyeye_defs.h"
-#include "core/hle/hle.h"
+#include "core/hle/mrc.h"
#include "core/arm/disassembler/arm_disasm.h"
unsigned xscale_cp15_cp_access_allowed (ARMul_State * state, unsigned reg,
@@ -738,7 +738,8 @@ ARMword
ARMul_MRC (ARMul_State * state, ARMword instr)
{
unsigned cpab;
- ARMword result = HLE::CallGetThreadCommandBuffer();
+
+ ARMword result = HLE::CallMRC((HLE::ARM11_MRC_OPERATION)BITS(20, 27));
////printf("SKYEYE ARMul_MRC, CPnum is %x, instr %x\n",CPNum, instr);
//if (!CP_ACCESS_ALLOWED (state, CPNum)) {