summaryrefslogtreecommitdiff
path: root/src/vcpu.h
diff options
context:
space:
mode:
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;