mirror of
https://github.com/libretro/mgba.git
synced 2025-02-17 06:07:46 +00:00
GBA: Ignore invalid opcodes used by the Wii U VC emulator (fixes #471)
This commit is contained in:
parent
36553b89d0
commit
17cfee015d
1
CHANGES
1
CHANGES
@ -70,6 +70,7 @@ Misc:
|
|||||||
- Qt: Rename "Resample video" option to "Bilinear filtering"
|
- Qt: Rename "Resample video" option to "Bilinear filtering"
|
||||||
- GBA Video: Optimize when BLD* registers are written frequently
|
- GBA Video: Optimize when BLD* registers are written frequently
|
||||||
- Core: Cores can now have multiple sets of callbacks
|
- Core: Cores can now have multiple sets of callbacks
|
||||||
|
- GBA: Ignore invalid opcodes used by the Wii U VC emulator
|
||||||
|
|
||||||
0.5.2: (2016-12-31)
|
0.5.2: (2016-12-31)
|
||||||
Bugfixes:
|
Bugfixes:
|
||||||
|
@ -577,6 +577,10 @@ void GBAIllegal(struct ARMCore* cpu, uint32_t opcode) {
|
|||||||
// TODO: More sensible category?
|
// TODO: More sensible category?
|
||||||
mLOG(GBA, WARN, "Illegal opcode: %08x", opcode);
|
mLOG(GBA, WARN, "Illegal opcode: %08x", opcode);
|
||||||
}
|
}
|
||||||
|
if (cpu->executionMode == MODE_THUMB && (opcode & 0xFFC0) == 0xE800) {
|
||||||
|
mLOG(GBA, DEBUG, "Hit Wii U VC opcode: %08x", opcode);
|
||||||
|
return;
|
||||||
|
}
|
||||||
#ifdef USE_DEBUGGERS
|
#ifdef USE_DEBUGGERS
|
||||||
if (gba->debugger) {
|
if (gba->debugger) {
|
||||||
struct mDebuggerEntryInfo info = {
|
struct mDebuggerEntryInfo info = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user