1
0
mirror of https://github.com/jborza/emu6502.git synced 2024-06-08 22:29:41 +00:00

disassembler outputs current line in hex

This commit is contained in:
jborza 2019-04-27 19:22:21 +02:00
parent 6df5c3f7e6
commit 6be44b3136

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] = "";