summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/super80.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-04-19 14:47:35 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-04-19 14:47:35 +0000
commitbe5e1248c44af7616e0c5bbfc6d625622c285768 (patch)
treea3fdec8a735cbeb66f4c8c15905fda5f01502c9e /src/mess/machine/super80.c
parent1cf6d1965d49a46e2f5930a652c0ce56194cb194 (diff)
SNAPSHOT_LOAD and QUICKLOAD_LOAD made members, still need to cleanup (nw)
Diffstat (limited to 'src/mess/machine/super80.c')
-rw-r--r--src/mess/machine/super80.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mess/machine/super80.c b/src/mess/machine/super80.c
index dae9af12f21..813398ebd88 100644
--- a/src/mess/machine/super80.c
+++ b/src/mess/machine/super80.c
@@ -228,10 +228,10 @@ DRIVER_INIT_MEMBER(super80_state,super80v)
}
/*-------------------------------------------------
- QUICKLOAD_LOAD( super80 )
+ QUICKLOAD_LOAD_MEMBER( super80_state, super80 )
-------------------------------------------------*/
-QUICKLOAD_LOAD( super80 )
+QUICKLOAD_LOAD_MEMBER( super80_state, super80 )
{
UINT16 exec_addr, start_addr, end_addr;
int autorun;
@@ -244,7 +244,7 @@ QUICKLOAD_LOAD( super80 )
if (exec_addr != 0xffff)
{
/* check to see if autorun is on (I hate how this works) */
- autorun = image.device().machine().root_device().ioport("CONFIG")->read_safe(0xFF) & 1;
+ autorun = ioport("CONFIG")->read_safe(0xFF) & 1;
if (autorun)
image.device().machine().device("maincpu")->state().set_pc(exec_addr);