diff options
author | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2021-07-23 14:32:43 +0100 |
---|---|---|
committer | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2021-07-23 14:32:43 +0100 |
commit | 6be26e82cf54b9b3ce8fd70af25cb969c1079525 (patch) | |
tree | f57abca83bad24f39bd7f7b4b3b348b8ff57269e /main.c | |
parent | Feature: Implemented background and foreround color customizability (diff) | |
download | CHIP8-Emulator-6be26e82cf54b9b3ce8fd70af25cb969c1079525.tar.gz CHIP8-Emulator-6be26e82cf54b9b3ce8fd70af25cb969c1079525.tar.bz2 CHIP8-Emulator-6be26e82cf54b9b3ce8fd70af25cb969c1079525.zip |
Feature: Implemented various instructions
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c index 449efda..6bde0e1 100644 --- a/main.c +++ b/main.c @@ -76,7 +76,8 @@ int main(int argc, char** argv) emulator.draw_flag = 0; } - //usleep(1000000 / INSTRUCTIONS_PER_SECOND); + if(!DEBUG) + usleep(1000000 / INSTRUCTIONS_PER_SECOND); } exit: |