mirror of
https://github.com/fadden/6502bench.git
synced 2025-01-19 08:29:48 +00:00
Fix format overwrite test
A SOS binary had situation were an instruction was being reformatted as inline data by an extension script. The code that was supposed to detect and prevent this had a bug that caused it to only look at the first byte. The resulting confusion caused the program to crash. (issue #150)
This commit is contained in:
parent
7ebf976279
commit
2f603b69c3
@ -1171,7 +1171,7 @@ namespace SourceGen {
|
|||||||
" (" + mAnalyzerTags[i] + ")");
|
" (" + mAnalyzerTags[i] + ")");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (mAnattribs[offset].IsInstruction) {
|
if (mAnattribs[i].IsInstruction) {
|
||||||
LogW(offset, "SIDF rej: not for use with instructions");
|
LogW(offset, "SIDF rej: not for use with instructions");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user