Small useless optimization
This commit is contained in:
parent
c7502adaac
commit
912c59580a
@ -201,7 +201,7 @@ load_rom(const char* path)
|
|||||||
for (long t = 0; t < s; t += 2) {
|
for (long t = 0; t < s; t += 2) {
|
||||||
fprintf(
|
fprintf(
|
||||||
stderr, "%04X ", (memory[t + 0x200] << 8) + memory[t + 0x200 + 1]);
|
stderr, "%04X ", (memory[t + 0x200] << 8) + memory[t + 0x200 + 1]);
|
||||||
if (c++ == 7) {
|
if (++c == 8) {
|
||||||
putchar('\n');
|
putchar('\n');
|
||||||
c = 0;
|
c = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user