mirror of https://github.com/mgba-emu/mgba.git
GBA Cheats: Fix value incrementing in CB slide codes (fixes #1501)
This commit is contained in:
parent
6284ef4120
commit
e98560e931
1
CHANGES
1
CHANGES
|
@ -19,6 +19,7 @@ Other fixes:
|
||||||
- Libretro: Fix crash changing allowing opposing directions (hhromic)
|
- Libretro: Fix crash changing allowing opposing directions (hhromic)
|
||||||
- Qt: Fix race conditions initializing GDB stub
|
- Qt: Fix race conditions initializing GDB stub
|
||||||
- GBA: Set up GPIO mapping on null and ELF ROM regions (fixes mgba.io/i/1481)
|
- GBA: Set up GPIO mapping on null and ELF ROM regions (fixes mgba.io/i/1481)
|
||||||
|
- GBA Cheats: Fix value incrementing in CB slide codes (fixes mgba.io/i/1501)
|
||||||
Misc:
|
Misc:
|
||||||
- Qt: Make mute menu option also toggle fast-forward mute (fixes mgba.io/i/1424)
|
- Qt: Make mute menu option also toggle fast-forward mute (fixes mgba.io/i/1424)
|
||||||
- Qt: Show error message if file failed to load
|
- Qt: Show error message if file failed to load
|
||||||
|
|
|
@ -201,7 +201,7 @@ bool GBACheatAddCodeBreaker(struct GBACheatSet* cheats, uint32_t op1, uint16_t o
|
||||||
struct mCheat* incompleteCheat = mCheatListGetPointer(&cheats->d.list, cheats->incompleteCheat);
|
struct mCheat* incompleteCheat = mCheatListGetPointer(&cheats->d.list, cheats->incompleteCheat);
|
||||||
incompleteCheat->repeat = op1 & 0xFFFF;
|
incompleteCheat->repeat = op1 & 0xFFFF;
|
||||||
incompleteCheat->addressOffset = op2;
|
incompleteCheat->addressOffset = op2;
|
||||||
incompleteCheat->operandOffset = 0;
|
incompleteCheat->operandOffset = op1 >> 16;
|
||||||
cheats->incompleteCheat = COMPLETE;
|
cheats->incompleteCheat = COMPLETE;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue