summaryrefslogtreecommitdiff
path: root/sux.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2022-02-09 13:45:26 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2022-02-09 13:45:26 -0400
commit8d9190cb14f287193196f422d49dbca0809980c7 (patch)
treefd7224d362d1c80fd6b1fe9d2fab7ad397e1325f /sux.h
parentb9fdf56717af2a9e7c9224610082bb026c86a87e (diff)
sux.{c,h}, opcode.h, disasm.c: Add code to use the new
instruction handler for reading the interrupt vectors.
Diffstat (limited to 'sux.h')
-rw-r--r--sux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sux.h b/sux.h
index 949ccd1..4088629 100644
--- a/sux.h
+++ b/sux.h
@@ -60,7 +60,7 @@ extern pthread_cond_t main_cond;
#if debug
extern void print_info(struct sux *cpu, WINDOW *w, uint8_t lines, uint8_t thread);
extern void print_regs(struct sux *cpu, WINDOW *w);
-extern void disasm(struct sux *cpu, WINDOW *w, uint8_t lines, uint8_t opcode, uint8_t prefix, uint8_t ext_prefix, uint8_t prefix2, uint8_t *op_type, uint8_t *op_id, uint8_t thread);
+extern void disasm(struct sux *cpu, WINDOW *w, uint8_t lines, int opcode, uint8_t prefix, uint8_t ext_prefix, uint8_t prefix2, uint8_t *op_type, uint8_t *op_id, uint8_t thread);
#endif
/*#define KEYBUF_SIZE 0x40