all repos — mgba @ a3a8913fb59651955a8277980725881d7a7151fc

mGBA Game Boy Advance Emulator

GBA: Flag an old GBA toolchain as not producing MB binaries
Jeffrey Pfau jeffrey@endrift.com
Sat, 21 Nov 2015 12:05:37 -0800
commit

a3a8913fb59651955a8277980725881d7a7151fc

parent

b67e4b5d78494e28f36d060d9d54dce910bc2ea7

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M src/gba/gba.csrc/gba/gba.c

@@ -747,6 +747,9 @@ return false;

} if (info.op1.immediate <= 0) { return false; + } else if (info.op1.immediate == 28) { + // Ancient toolchain that is known to throw MB detection for a loop + return false; } else if (info.op1.immediate != 24) { return true; }