diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c index 7c5a2fc..94e4a95 100644 --- a/main.c +++ b/main.c @@ -23,14 +23,14 @@ int main(int argc, char** argv) printf("Hello brother!\n"); - for(int i = 0; i < sizeof(emulator.memory); ++i) + /*for(int i = 0; i < sizeof(emulator.memory); ++i) { printf("0x%x ", emulator.memory[i]); } - putchar('\n'); + putchar('\n');*/ - while(emulator.is_on) + while(emulator.is_on == 1) { emulator_tick(&emulator); usleep(1000000 / INSTRUCTIONS_PER_SECOND); |