about summary refs log tree commit diff
path: root/emulator.c
diff options
context:
space:
mode:
authorManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2021-07-19 18:26:09 +0100
committerManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2021-07-19 18:26:09 +0100
commit34858842acf9a86a32003f7ed256192064a994ed (patch)
tree92e7a5521dd20027477f7420eb3e079580117f0d /emulator.c
parentFeature: Added timers thread (diff)
downloadCHIP8-Emulator-34858842acf9a86a32003f7ed256192064a994ed.tar.gz
CHIP8-Emulator-34858842acf9a86a32003f7ed256192064a994ed.tar.bz2
CHIP8-Emulator-34858842acf9a86a32003f7ed256192064a994ed.zip
Feature: Prepared SDL window for pixel drawing instruction
Diffstat (limited to 'emulator.c')
-rw-r--r--emulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/emulator.c b/emulator.c
index ce607fe..87b6e81 100644
--- a/emulator.c
+++ b/emulator.c
@@ -124,6 +124,7 @@ int emulator_tick(Emulator* emulator)
             break;
         case 0xD:
             dbgprintf("DRAW!\n");
+            emulator->draw_flag = 1;
             break;
         case 0xE:
             break;