about summary refs log tree commit diff
path: root/emulator.h
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.h
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.h')
-rw-r--r--emulator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/emulator.h b/emulator.h
index cf1e81c..7a9c5ef 100644
--- a/emulator.h
+++ b/emulator.h
@@ -44,6 +44,7 @@ typedef struct
 typedef struct
 {
     volatile uint8_t is_on;
+    volatile uint8_t draw_flag;
     volatile uint8_t delay_timer;
     volatile uint8_t sound_timer;
     uint8_t display[64][32];