VERY experimental Nintendo Switch 2 emulator
C++
Dyncom: Fixed a conversion warning when decoding thumb instructions.
Subvb2d8872e5610
diff --git a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp b/src/core/arm/dyncom/arm_dyncom_interpreter.cppindex f4fbb8d04f..f829b92298 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_insThumbDecodeStatus 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) {