about summary refs log tree commit diff
path: root/emulator.h
diff options
context:
space:
mode:
authorManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2021-07-20 00:27:37 +0100
committerManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2021-07-20 00:27:37 +0100
commit3e4639ce6871f50aca13aa1fe66620b08471c9bd (patch)
tree1ff98c4e3ec18027bb8423cbf2138dc228a370be /emulator.h
parentMisc: Added stars.ch8 rom (diff)
downloadCHIP8-Emulator-3e4639ce6871f50aca13aa1fe66620b08471c9bd.tar.gz
CHIP8-Emulator-3e4639ce6871f50aca13aa1fe66620b08471c9bd.tar.bz2
CHIP8-Emulator-3e4639ce6871f50aca13aa1fe66620b08471c9bd.zip
Features: Added multiple instructions and added an infinite loop detector
Now we are able to detect when we are entering an infinite loop to stop
the program.
Diffstat (limited to 'emulator.h')
-rw-r--r--emulator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/emulator.h b/emulator.h
index 7a9c5ef..7fac868 100644
--- a/emulator.h
+++ b/emulator.h
@@ -6,6 +6,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <assert.h>
 #include <pthread.h>
 #include <sys/stat.h>