summaryrefslogtreecommitdiff
path: root/opcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'opcode.h')
-rw-r--r--opcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcode.h b/opcode.h
index b9d1817..cd7a59b 100644
--- a/opcode.h
+++ b/opcode.h
@@ -211,7 +211,7 @@ union reg {
};
struct sux {
- uint64_t ps; /* The processor status register. */
+ union reg ps; /* The processor status register. */
uint64_t a[8], b[8], y[8], x[8]; /* Registers A, B, X, and Y. */
uint64_t pc[8]; /* Program counter. */
uint16_t sp[8]; /* Stack pointer. */