Fixed a bug in the parser where the size of the binary was too big.
This commit is contained in:
+1
-4
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user