diff options
author | Subv <subv2112@gmail.com> | 2017-08-19 18:30:20 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2017-08-21 15:34:23 +0200 |
commit | 9d0841b48b6b6f3c5a2425922617343fc2f79cdc (patch) | |
tree | 396f1f14d1af656f2863bf1b8c8020fff7821e37 /src/core/arm/dyncom | |
parent | Dyncom: Fixed a conversion warning when decoding thumb instructions. (diff) | |
download | yuzu-9d0841b48b6b6f3c5a2425922617343fc2f79cdc.tar yuzu-9d0841b48b6b6f3c5a2425922617343fc2f79cdc.tar.gz yuzu-9d0841b48b6b6f3c5a2425922617343fc2f79cdc.tar.bz2 yuzu-9d0841b48b6b6f3c5a2425922617343fc2f79cdc.tar.lz yuzu-9d0841b48b6b6f3c5a2425922617343fc2f79cdc.tar.xz yuzu-9d0841b48b6b6f3c5a2425922617343fc2f79cdc.tar.zst yuzu-9d0841b48b6b6f3c5a2425922617343fc2f79cdc.zip |
Diffstat (limited to 'src/core/arm/dyncom')
-rw-r--r-- | src/core/arm/dyncom/arm_dyncom_interpreter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp index f829b9229..3522d1e82 100644 --- a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp +++ b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp @@ -838,7 +838,7 @@ static unsigned int InterpreterTranslateInstruction(const ARMul_State* cpu, cons return inst_size; } -static int InterpreterTranslateBlock(ARMul_State* cpu, int& bb_start, u32 addr) { +static int InterpreterTranslateBlock(ARMul_State* cpu, std::size_t& bb_start, u32 addr) { MICROPROFILE_SCOPE(DynCom_Decode); // Decode instruction, get index @@ -871,7 +871,7 @@ static int InterpreterTranslateBlock(ARMul_State* cpu, int& bb_start, u32 addr) return KEEP_GOING; } -static int InterpreterTranslateSingle(ARMul_State* cpu, int& bb_start, u32 addr) { +static int InterpreterTranslateSingle(ARMul_State* cpu, std::size_t& bb_start, u32 addr) { MICROPROFILE_SCOPE(DynCom_Decode); ARM_INST_PTR inst_base = nullptr; @@ -1620,7 +1620,7 @@ unsigned InterpreterMainLoop(ARMul_State* cpu) { unsigned int addr; unsigned int num_instrs = 0; - int ptr; + std::size_t ptr; LOAD_NZCVT; DISPATCH : { |