gbdb,video: improve logging

Add more runtime toggles and add the ability to log to a file for
faster runs and better searchability.
This commit is contained in:
2018-07-22 16:15:10 -07:00
parent 53cd4ab7e5
commit f659af54e1
5 changed files with 227 additions and 102 deletions

View File

@@ -54,7 +54,6 @@ void gb_mem_write(struct gb_memory *cpu, uint16_t addr, uint8_t val)
break;
case 0x8000 ... 0x87FF:
case 0x9800 ... 0x9BFF:
printf("Wrote [0x%x]=%x\n", addr, val);
ram[addr] = val;
break;
case 0 ... 0x100: