summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-01-08 17:22:20 +0100
committerbunnei <bunneidev@gmail.com>2015-01-08 17:22:20 +0100
commit2432f317e4ea1dbc8a6b87ea4ad8c326ad4b8f04 (patch)
treef7296555da6b9fe174a4477a86f7231f5ba900c2 /src
parentMerge pull request #441 from Kingcom/CallStack (diff)
parentdyncom: Fix UMAAL (diff)
downloadyuzu-2432f317e4ea1dbc8a6b87ea4ad8c326ad4b8f04.tar
yuzu-2432f317e4ea1dbc8a6b87ea4ad8c326ad4b8f04.tar.gz
yuzu-2432f317e4ea1dbc8a6b87ea4ad8c326ad4b8f04.tar.bz2
yuzu-2432f317e4ea1dbc8a6b87ea4ad8c326ad4b8f04.tar.lz
yuzu-2432f317e4ea1dbc8a6b87ea4ad8c326ad4b8f04.tar.xz
yuzu-2432f317e4ea1dbc8a6b87ea4ad8c326ad4b8f04.tar.zst
yuzu-2432f317e4ea1dbc8a6b87ea4ad8c326ad4b8f04.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/arm/dyncom/arm_dyncom_interpreter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp
index 7c710ccde..e3ca02e98 100644
--- a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp
+++ b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp
@@ -6696,10 +6696,10 @@ unsigned InterpreterMainLoop(ARMul_State* state) {
{
if (inst_base->cond == 0xE || CondPassed(cpu, inst_base->cond)) {
umaal_inst* const inst_cream = (umaal_inst*)inst_base->component;
- const u32 rm = RM;
- const u32 rn = RN;
- const u32 rd_lo = RDLO;
- const u32 rd_hi = RDHI;
+ const u64 rm = RM;
+ const u64 rn = RN;
+ const u64 rd_lo = RDLO;
+ const u64 rd_hi = RDHI;
const u64 result = (rm * rn) + rd_lo + rd_hi;
RDLO = (result & 0xFFFFFFFF);