summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/pc.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2012-09-11 16:29:26 +0000
committer Aaron Giles <aaron@aarongiles.com>2012-09-11 16:29:26 +0000
commitd1a2c2e7a36796de9619ec4d9f81ea755178412d (patch)
treee210e894a1cda37c5407eaa0ff5a1e89b97cbfe3 /src/mess/machine/pc.c
parent0aa418e85b7f7aad5088bc96c9da0c371b15b2f2 (diff)
Add ambiguous execute() and memory() methods to the
device_execute/memory_interfaces respectively in order to catch unnecessary usage of the corresponding device_t methods. Removed all existing redundant usage. [Aaron Giles]
Diffstat (limited to 'src/mess/machine/pc.c')
-rw-r--r--src/mess/machine/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/machine/pc.c b/src/mess/machine/pc.c
index a26f9cfb3e3..66645020ddb 100644
--- a/src/mess/machine/pc.c
+++ b/src/mess/machine/pc.c
@@ -1409,7 +1409,7 @@ static READ8_HANDLER( input_port_0_r ) { return space->machine().root_device().i
DRIVER_INIT_MEMBER(pc_state,pc1640)
{
- address_space *io_space = machine().firstcpu->memory().space( AS_IO );
+ address_space *io_space = machine().firstcpu->space( AS_IO );
io_space->install_legacy_read_handler(0x278, 0x27b, FUNC(pc1640_port278_r), 0xffff);
io_space->install_legacy_read_handler(0x4278, 0x427b, FUNC(pc1640_port4278_r), 0xffff);