summaryrefslogtreecommitdiffstats
path: root/src/mess/drivers/binbug.c
diff options
context:
space:
mode:
authorGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2013-04-19 14:47:35 +0000
committerGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2013-04-19 14:47:35 +0000
commitbe5e1248c44af7616e0c5bbfc6d625622c285768 (patch) (github)
treea3fdec8a735cbeb66f4c8c15905fda5f01502c9e /src/mess/drivers/binbug.c
parent1cf6d1965d49a46e2f5930a652c0ce56194cb194 (diff)
downloadmame-be5e1248c44af7616e0c5bbfc6d625622c285768.tar.bz2
mame-be5e1248c44af7616e0c5bbfc6d625622c285768.zip
SNAPSHOT_LOAD and QUICKLOAD_LOAD made members, still need to cleanup (nw)
Diffstat (limited to 'src/mess/drivers/binbug.c')
-rw-r--r--src/mess/drivers/binbug.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mess/drivers/binbug.c b/src/mess/drivers/binbug.c
index 7196d767cc0..2e40a6d7a60 100644
--- a/src/mess/drivers/binbug.c
+++ b/src/mess/drivers/binbug.c
@@ -79,6 +79,7 @@ public:
required_shared_ptr<const UINT8> m_p_videoram;
required_shared_ptr<const UINT8> m_p_attribram;
required_device<cpu_device> m_maincpu;
+ DECLARE_QUICKLOAD_LOAD_MEMBER( binbug );
};
WRITE8_MEMBER( binbug_state::binbug_ctrl_w )
@@ -217,7 +218,7 @@ static GFXDECODE_START( dg640 )
GFXDECODE_ENTRY( "chargen", 0x0000, dg640_charlayout, 0, 1 )
GFXDECODE_END
-QUICKLOAD_LOAD( binbug )
+QUICKLOAD_LOAD_MEMBER( binbug_state, binbug )
{
address_space &space = image.device().machine().device("maincpu")->memory().space(AS_PROGRAM);
int i;
@@ -314,7 +315,7 @@ static MACHINE_CONFIG_START( binbug, binbug_state )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
/* quickload */
- MCFG_QUICKLOAD_ADD("quickload", binbug, "pgm", 1)
+ MCFG_QUICKLOAD_ADD("quickload", binbug_state, binbug, "pgm", 1)
MACHINE_CONFIG_END