From 95db0b7dd202046b3f55ed0d6845e48e5089cae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Kujawa?= Date: Wed, 25 Jan 2017 10:09:38 +0100 Subject: [PATCH] Add commented out debug message. --- src/bus.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bus.c b/src/bus.c index e96df88..4068c69 100644 --- a/src/bus.c +++ b/src/bus.c @@ -20,7 +20,10 @@ typedef struct bus_tag bus_t; uint8_t bus_read_1(bus_t *t, uint16_t addr) { - return t->space[addr]; + uint8_t val; + val = t->space[addr]; +/* printf("bus READ @ %x value %x\n", addr, val); */ + return val; } void