mirror of https://github.com/mgba-emu/mgba.git
GBA: Flag an old GBA toolchain as not producing MB binaries
This commit is contained in:
parent
b67e4b5d78
commit
a3a8913fb5
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue