disassembler outputs current line in hex

This commit is contained in:
jborza 2019-04-27 19:22:21 +02:00
parent 6df5c3f7e6
commit 6be44b3136
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
#include <stdio.h>
void disassemble_6502(byte* buffer, word pc) {
printf("%04d ", pc);
printf("%04X ", pc);
byte* code = &buffer[pc];
int bytes = 1;
char op[128] = "";