summaryrefslogtreecommitdiff
path: root/src/vcpu.h
diff options
context:
space:
mode:
authorLoic Guegan <loic.guegan@mailbox.org>2023-12-25 09:11:45 +0100
committerLoic Guegan <loic.guegan@mailbox.org>2023-12-25 09:11:45 +0100
commit16f7128a0c81a508940ee1a8e8d1b8fe36f83259 (patch)
tree690523d91c2b66d804e9db98143ff716ef1bba89 /src/vcpu.h
parent14e9dd9258eaf62dba3867bb6edc9cd8687125c4 (diff)
Minor changes
Diffstat (limited to 'src/vcpu.h')
-rw-r--r--src/vcpu.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vcpu.h b/src/vcpu.h
index c85744d..33a1492 100644
--- a/src/vcpu.h
+++ b/src/vcpu.h
@@ -21,15 +21,16 @@ typedef struct VCPU_State {
unsigned char ST;
// Intruction (opcode + decoded fields)
- short opcode;
+ unsigned short opcode;
char X;
char Y;
char N;
char NN;
- short NNN;
+ unsigned short NNN;
} VCPU_State;
void VCPUInit();
void VCPUFetch();
void VCPUDecode();
void VCPUExecute();
+void VCPUDump();