summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/dc.c
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2011-07-02 20:03:22 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2011-07-02 20:03:22 +0000
commitab8db842f556e2ea1718bc9a49ea9420387acd17 (patch)
treea48db58b53483279c62dbdade773f2cd11b3e013 /src/mame/machine/dc.c
parent66fc7acdf5e97ba5027c8ce25ee7fc7ca717c968 (diff)
Naomi: hooked up M4 live decryption [R. Belmont, Deunan Knute, Andreas Naive]
Diffstat (limited to 'src/mame/machine/dc.c')
-rw-r--r--src/mame/machine/dc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/dc.c b/src/mame/machine/dc.c
index 58692baa75b..ffcb95aa26a 100644
--- a/src/mame/machine/dc.c
+++ b/src/mame/machine/dc.c
@@ -540,8 +540,8 @@ WRITE64_HANDLER( dc_g1_ctrl_w )
return;
}
g1bus_regs[SB_GDST] = dat & 1;
-// printf("ROM board DMA to %x len %x (PC %x)\n", g1bus_regs[SB_GDSTAR], g1bus_regs[SB_GDLEN], cpu_get_pc(&space->device()));
- ROM = (UINT8 *)naomibd_get_memory(space->machine().device("rom_board"));
+// printf("Cart DMA to %x len %x (PC %x)\n", g1bus_regs[SB_GDSTAR], g1bus_regs[SB_GDLEN], cpu_get_pc(&space->device()));
+ ROM = (UINT8 *)naomibd_get_memory(space->machine().device("rom_board"), g1bus_regs[SB_GDLEN]);
dmaoffset = naomibd_get_dmaoffset(space->machine().device("rom_board"));
ddtdata.destination=g1bus_regs[SB_GDSTAR]; // destination address
ddtdata.length=g1bus_regs[SB_GDLEN] >> 5; // words to transfer