mirror of https://github.com/mgba-emu/mgba.git
Libretro: Fix crash when using Game Boy codes (fixes #2281)
This commit is contained in:
parent
2fec366076
commit
9355def316
1
CHANGES
1
CHANGES
|
@ -19,6 +19,7 @@ Other fixes:
|
|||
- Core: Don't attempt to restore rewind diffs past start of rewind
|
||||
- GB Video: Fix memory leak when reseting SGB games
|
||||
- GBA: Fix out of bounds ROM accesses on patched ROMs smaller than 32 MiB
|
||||
- Libretro: Fix crash when using Game Boy codes (fixes mgba.io/i/2281)
|
||||
Misc:
|
||||
- Core: Suspend runloop when a core crashes
|
||||
- Qt: Rearrange menus some
|
||||
|
|
|
@ -942,7 +942,9 @@ void retro_cheat_set(unsigned index, bool enabled, const char* code) {
|
|||
}
|
||||
}
|
||||
#endif
|
||||
cheatSet->refresh(cheatSet, device);
|
||||
if (cheatSet->refresh) {
|
||||
cheatSet->refresh(cheatSet, device);
|
||||
}
|
||||
}
|
||||
|
||||
unsigned retro_get_region(void) {
|
||||
|
|
Loading…
Reference in New Issue