Fixed a bug in the parser where the size of the binary was too big.

This commit is contained in:
2022-08-29 18:02:11 +00:00
parent ae1e73e00f
commit e3b4293314
2 changed files with 5 additions and 12 deletions
+1 -4
View File
@@ -27,10 +27,7 @@ void Disassemble(unsigned char image[HIGHMEMORY]) {
unsigned char instruction = image[position];
while(end >= position) {//(instruction != 0) {
// printf("%d\n", position);
// printf("%#04X\n", instruction);
while(end > position) {
unsigned char masked = instruction & 0xE0;
if (masked) {