From c448c736d65e6fc611f0b4edb60a3461385fd661 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Wed, 4 Jan 2017 21:23:59 -0800 Subject: Display both byte and word pending values to better reflect VDP pending state in PBC mode --- vdp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vdp.c') 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)); -- cgit v1.2.3