diff options
author | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2021-07-20 00:27:37 +0100 |
---|---|---|
committer | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2021-07-20 00:27:37 +0100 |
commit | 3e4639ce6871f50aca13aa1fe66620b08471c9bd (patch) | |
tree | 1ff98c4e3ec18027bb8423cbf2138dc228a370be /emulator.h | |
parent | Misc: Added stars.ch8 rom (diff) | |
download | CHIP8-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.h | 1 |
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> |