mirror of
https://github.com/visualboyadvance-m/visualboyadvance-m
synced 2025-10-05 23:52:49 +02:00
Fix Wii U VC opcodes
Fix Wii U VC opcodes
This commit is contained in:
@@ -26,6 +26,12 @@ static int clockTicks;
|
||||
|
||||
static INSN_REGPARM void armUnknownInsn(uint32_t opcode)
|
||||
{
|
||||
if ((opcode & 0xFFC00000) == 0xEE800000) {
|
||||
if (systemVerbose & VERBOSE_UNDEFINED) {
|
||||
log("Hit Wii U VC opcode: %08x", opcode);
|
||||
}
|
||||
return;
|
||||
}
|
||||
#ifdef GBA_LOGGING
|
||||
if (systemVerbose & VERBOSE_UNDEFINED) {
|
||||
log("Undefined ARM instruction %08x at %08x\n", opcode,
|
||||
|
@@ -33,6 +33,12 @@ static int clockTicks;
|
||||
|
||||
static INSN_REGPARM void thumbUnknownInsn(uint32_t opcode)
|
||||
{
|
||||
if ((opcode & 0xFFC0) == 0xE800) {
|
||||
if (systemVerbose & VERBOSE_UNDEFINED) {
|
||||
log("Hit Wii U VC opcode: %08x", opcode);
|
||||
}
|
||||
return;
|
||||
}
|
||||
#ifdef GBA_LOGGING
|
||||
if (systemVerbose & VERBOSE_UNDEFINED)
|
||||
log("Undefined THUMB instruction %04x at %08x\n", opcode, armNextPC - 2);
|
||||
|
Reference in New Issue
Block a user