summaryrefslogtreecommitdiff
path: root/src/vcpu.h
diff options
context:
space:
mode:
authorLoic Guegan <loic.guegan@mailbox.org>2023-12-26 13:17:52 +0100
committerLoic Guegan <loic.guegan@mailbox.org>2023-12-26 13:17:52 +0100
commite9ec67945034935931c975ddb9522a5dbb69e6a9 (patch)
treee15f223eb984b71eda672978de0643d6e4475d2a /src/vcpu.h
parent3738e41d2db8c058c684ab602309c98464d8e6f6 (diff)
Minor changes
Diffstat (limited to 'src/vcpu.h')
-rw-r--r--src/vcpu.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vcpu.h b/src/vcpu.h
index 3da6b37..16de017 100644
--- a/src/vcpu.h
+++ b/src/vcpu.h
@@ -35,10 +35,12 @@ typedef struct VCPU_State {
unsigned short NNN;
// Keypressed
- int keypress;
+ int keypressed; // Not 0 if a key was pressed
+ unsigned char key;
// Count VCPU ticks
- int dtst_ticks;
+ int dt_ticks;
+ int st_ticks;
int screen_ticks;
} VCPU_State;