GBA: Flag an old GBA toolchain as not producing MB binaries

This commit is contained in:
Jeffrey Pfau 2015-11-21 12:05:37 -08:00
parent b67e4b5d78
commit a3a8913fb5
1 changed files with 3 additions and 0 deletions

View File

@ -747,6 +747,9 @@ bool GBAIsMB(struct VFile* vf) {
}
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;
}