mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
Dyncom: Fixed a conversion warning when decoding thumb instructions.
This commit is contained in:
parent
46d1ca768d
commit
d3fb1d6c38
1 changed files with 1 additions and 1 deletions
|
@ -759,7 +759,7 @@ static ThumbDecodeStatus DecodeThumbInstruction(u32 inst, u32 addr, u32* arm_ins
|
||||||
ThumbDecodeStatus ret = TranslateThumbInstruction(addr, inst, arm_inst, inst_size);
|
ThumbDecodeStatus ret = TranslateThumbInstruction(addr, inst, arm_inst, inst_size);
|
||||||
if (ret == ThumbDecodeStatus::BRANCH) {
|
if (ret == ThumbDecodeStatus::BRANCH) {
|
||||||
int inst_index;
|
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);
|
u32 tinstr = GetThumbInstruction(inst, addr);
|
||||||
|
|
||||||
switch ((tinstr & 0xF800) >> 11) {
|
switch ((tinstr & 0xF800) >> 11) {
|
||||||
|
|
Loading…
Reference in a new issue