summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/r2dtank.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2012-04-11 14:20:08 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2012-04-11 14:20:08 +0000
commit8382d75558aa344b82c89622fc9e71bfc68a779a (patch)
tree230a6bd7ba036f69c17183872edd8c6704e8f274 /src/mame/drivers/r2dtank.c
parent1903be787024fdf8b733a1a56970afbf1eae2d3d (diff)
Added target() on proper places (no whatsnew)
Diffstat (limited to 'src/mame/drivers/r2dtank.c')
-rw-r--r--src/mame/drivers/r2dtank.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/r2dtank.c b/src/mame/drivers/r2dtank.c
index c45af7056a0..1662f7a6e31 100644
--- a/src/mame/drivers/r2dtank.c
+++ b/src/mame/drivers/r2dtank.c
@@ -353,8 +353,8 @@ static MC6845_UPDATE_ROW( update_row )
if (state->m_flipscreen)
offs = offs ^ 0x1fff;
- data = state->m_videoram[offs];
- fore_color = (state->m_colorram[offs] >> 5) & 0x07;
+ data = state->m_videoram.target()[offs];
+ fore_color = (state->m_colorram.target()[offs] >> 5) & 0x07;
for (i = 0; i < 8; i++)
{