aboutsummaryrefslogtreecommitdiff
path: root/src/ahoy/emulator.h
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-02-17 00:31:48 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-02-17 00:31:48 +0100
commit18d4d36065048a1c61b4b8a5cfc3a7a64737d832 (patch)
tree32fcccb0903fa26bd9d3fdd50877cbd8a0611cc9 /src/ahoy/emulator.h
parent6b35522c877cbb27282df776db8f08532d0441f5 (diff)
Optimize redrawing
Diffstat (limited to 'src/ahoy/emulator.h')
-rw-r--r--src/ahoy/emulator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ahoy/emulator.h b/src/ahoy/emulator.h
index 69438db..24aa8ce 100644
--- a/src/ahoy/emulator.h
+++ b/src/ahoy/emulator.h
@@ -15,6 +15,7 @@
I — register to hold addresses
*/
struct chip8 {
+ bool needs_redraw;
bool kbd[16];
uint8_t V[16];
uint8_t DT, ST, SP;