summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/sg1000.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/drivers/sg1000.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/drivers/sg1000.c')
-rw-r--r--src/mess/drivers/sg1000.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/drivers/sg1000.c b/src/mess/drivers/sg1000.c
index c4cda812616..d54b8ea4ed5 100644
--- a/src/mess/drivers/sg1000.c
+++ b/src/mess/drivers/sg1000.c
@@ -642,7 +642,7 @@ const cassette_interface sc3000_cassette_interface =
void sg1000_state::install_cartridge(UINT8 *ptr, int size)
{
- address_space *program = m_maincpu->memory().space(AS_PROGRAM);
+ address_space *program = m_maincpu->space(AS_PROGRAM);
switch (size)
{
@@ -825,7 +825,7 @@ static DEVICE_IMAGE_LOAD( omv_cart )
void sc3000_state::install_cartridge(UINT8 *ptr, int size)
{
- address_space *program = m_maincpu->memory().space(AS_PROGRAM);
+ address_space *program = m_maincpu->space(AS_PROGRAM);
/* include SG-1000 mapping */
sg1000_state::install_cartridge(ptr, size);