summaryrefslogtreecommitdiff
path: root/vdp.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2017-01-04 21:23:59 -0800
committerMichael Pavone <pavone@retrodev.com>2017-01-04 21:23:59 -0800
commitc448c736d65e6fc611f0b4edb60a3461385fd661 (patch)
tree55fa9e435a05f052ac5d265fccdb57cd62b4021f /vdp.c
parente96ca2a17dc298977d31768226090bc22b0baa5c (diff)
Display both byte and word pending values to better reflect VDP pending state in PBC mode
Diffstat (limited to 'vdp.c')
-rw-r--r--vdp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vdp.c b/vdp.c
index d53b04a..b0c2169 100644
--- a/vdp.c
+++ b/vdp.c
@@ -421,7 +421,8 @@ void vdp_print_reg_explain(vdp_context * context)
"VINT Pending: %s\n"
"HINT Pending: %s\n"
"Status: %X\n",
- context->address, context->cd, cd_name(context->cd), (context->flags & FLAG_PENDING) ? "true" : "false",
+ context->address, context->cd, cd_name(context->cd),
+ (context->flags & FLAG_PENDING) ? "word" : (context->flags2 & FLAG2_BYTE_PENDING) ? "byte" : "none",
context->vcounter, context->hslot*2, (context->flags2 & FLAG2_VINT_PENDING) ? "true" : "false",
(context->flags2 & FLAG2_HINT_PENDING) ? "true" : "false", vdp_control_port_read(context));