summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2017-08-19 18:28:22 +0200
committerSubv <subv2112@gmail.com>2017-08-21 15:20:36 +0200
commitd3fb1d6c3882e45dee66fe7e5cf7613268e1b7bb (patch)
tree206bedf1a2815c9689f0d2fafb03227b223401c7
parentMerge pull request #2872 from wwylele/sw-geo-factor (diff)
downloadyuzu-d3fb1d6c3882e45dee66fe7e5cf7613268e1b7bb.tar
yuzu-d3fb1d6c3882e45dee66fe7e5cf7613268e1b7bb.tar.gz
yuzu-d3fb1d6c3882e45dee66fe7e5cf7613268e1b7bb.tar.bz2
yuzu-d3fb1d6c3882e45dee66fe7e5cf7613268e1b7bb.tar.lz
yuzu-d3fb1d6c3882e45dee66fe7e5cf7613268e1b7bb.tar.xz
yuzu-d3fb1d6c3882e45dee66fe7e5cf7613268e1b7bb.tar.zst
yuzu-d3fb1d6c3882e45dee66fe7e5cf7613268e1b7bb.zip
-rw-r--r--src/core/arm/dyncom/arm_dyncom_interpreter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp
index f4fbb8d04..f829b9229 100644
--- a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp
+++ b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp
@@ -759,7 +759,7 @@ static ThumbDecodeStatus DecodeThumbInstruction(u32 inst, u32 addr, u32* arm_ins
ThumbDecodeStatus ret = TranslateThumbInstruction(addr, inst, arm_inst, inst_size);
if (ret == ThumbDecodeStatus::BRANCH) {
int inst_index;
- int table_length = arm_instruction_trans_len;
+ int table_length = static_cast<int>(arm_instruction_trans_len);
u32 tinstr = GetThumbInstruction(inst, addr);
switch ((tinstr & 0xF800) >> 11) {