diff vdp.c @ 629:9089951a1994

Small fix to display of DMA source address in vr debug command
author Michael Pavone <pavone@retrodev.com>
date Thu, 14 Aug 2014 09:38:32 -0700
parents 788545f4064f
children 5d58dcd94733
line wrap: on
line diff
--- a/vdp.c	Sat Jun 21 09:36:15 2014 -0700
+++ b/vdp.c	Thu Aug 14 09:38:32 2014 -0700
@@ -255,7 +255,7 @@
 		   context->regs[REG_DMASRC_L],
 		   context->regs[REG_DMASRC_M],
 		   context->regs[REG_DMASRC_H],
-		       context->regs[REG_DMASRC_H] << 17 | context->regs[REG_DMASRC_M] << 9 | context->regs[REG_DMASRC_L],
+		       context->regs[REG_DMASRC_H] << 17 | context->regs[REG_DMASRC_M] << 9 | context->regs[REG_DMASRC_L] << 1,
 			   src_types[context->regs[REG_DMASRC_H] >> 6 & 3]);
 	printf("\n**Internal Group**\n"
 	       "Address: %X\n"