summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/witch.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2011-03-29 16:31:32 +0000
committer Aaron Giles <aaron@aarongiles.com>2011-03-29 16:31:32 +0000
commit17e077da3a754ac217e624773e407c5779a1cb1f (patch)
tree562e86fbd87e4d27afbb0573301c61c2311f7a4a /src/mame/drivers/witch.c
parent2ad50720237fdd19cf5ab45b8cb6bb21119c00b8 (diff)
Remove redundant item cpu from address_space, in favor of
space->device(). S: space->cpu-> R: space->device\(\)\. S: space->cpu R: \&space->device\(\)
Diffstat (limited to 'src/mame/drivers/witch.c')
-rw-r--r--src/mame/drivers/witch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/witch.c b/src/mame/drivers/witch.c
index 19d9b98f68e..4879a92ce62 100644
--- a/src/mame/drivers/witch.c
+++ b/src/mame/drivers/witch.c
@@ -386,7 +386,7 @@ static WRITE8_HANDLER(write_a00x)
break;
case 0x08: //A008
- device_set_input_line(space->cpu,0,CLEAR_LINE);
+ device_set_input_line(&space->device(),0,CLEAR_LINE);
break;
}
}
@@ -403,7 +403,7 @@ static READ8_HANDLER(prot_read_700x)
Otherwise later in game some I/O (controls) reads are skipped.
*/
- switch(cpu_get_pc(space->cpu))
+ switch(cpu_get_pc(&space->device()))
{
case 0x23f:
case 0x246: