about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2021-07-20 00:31:20 +0100
committerManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2021-07-20 00:31:20 +0100
commita6a45740fd16a400c41e094dd22575941213764d (patch)
tree0d933e9b0ce5bc297a9023cbe4131f2dfa94b529
parentFeatures: Added multiple instructions and added an infinite loop detector (diff)
downloadCHIP8-Emulator-a6a45740fd16a400c41e094dd22575941213764d.tar.gz
CHIP8-Emulator-a6a45740fd16a400c41e094dd22575941213764d.tar.bz2
CHIP8-Emulator-a6a45740fd16a400c41e094dd22575941213764d.zip
Misc: Removed unnecesary file
-rw-r--r--emulator.c2
-rw-r--r--x0
2 files changed, 1 insertions, 1 deletions
diff --git a/emulator.c b/emulator.c
index 6016374..b3c6f42 100644
--- a/emulator.c
+++ b/emulator.c
@@ -104,7 +104,7 @@ int emulator_tick(Emulator* emulator)
                 printf("INFINITE LOOP DETECTED! EXITING...\n");
                 emulator_dump_registers(emulator);
                 getchar(); //block
-                exit(0); //stop executing when program over
+                emulator->is_on = 0;
             }
 
             break;
diff --git a/x b/x
deleted file mode 100644
index e69de29..0000000
--- a/x
+++ /dev/null