mirror of https://github.com/mgba-emu/mgba.git
ARM Decoder: Fix decoding of lsl r0 (fixes #2349)
This commit is contained in:
parent
59cb5c189a
commit
53c7f6f50a
1
CHANGES
1
CHANGES
|
@ -23,6 +23,7 @@ Emulation fixes:
|
||||||
- GBA Video: Don't iterate affine backgrounds when disabled
|
- GBA Video: Don't iterate affine backgrounds when disabled
|
||||||
- GBA Video: Delay enabling backgrounds in bitmap modes (fixes mgba.io/i/1668)
|
- GBA Video: Delay enabling backgrounds in bitmap modes (fixes mgba.io/i/1668)
|
||||||
Other fixes:
|
Other fixes:
|
||||||
|
- ARM Decoder: Fix decoding of lsl r0 (fixes mgba.io/i/2349)
|
||||||
- Core: Don't attempt to restore rewind diffs past start of rewind
|
- Core: Don't attempt to restore rewind diffs past start of rewind
|
||||||
- FFmpeg: Don't attempt to use YUV 4:2:0 for lossless videos (fixes mgba.io/i/2084)
|
- FFmpeg: Don't attempt to use YUV 4:2:0 for lossless videos (fixes mgba.io/i/2084)
|
||||||
- GB Video: Fix memory leak when reseting SGB games
|
- GB Video: Fix memory leak when reseting SGB games
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
#define ADDR_MODE_1_LSL \
|
#define ADDR_MODE_1_LSL \
|
||||||
ADDR_MODE_1_SHIFT(LSL) \
|
ADDR_MODE_1_SHIFT(LSL) \
|
||||||
if (!info->op3.shifterImm) { \
|
if ((info->operandFormat & ARM_OPERAND_SHIFT_IMMEDIATE_3) && !info->op3.shifterImm) { \
|
||||||
info->operandFormat &= ~ARM_OPERAND_SHIFT_IMMEDIATE_3; \
|
info->operandFormat &= ~ARM_OPERAND_SHIFT_IMMEDIATE_3; \
|
||||||
info->op3.shifterOp = ARM_SHIFT_NONE; \
|
info->op3.shifterOp = ARM_SHIFT_NONE; \
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue