summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/qx10.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2012-09-13 11:15:32 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2012-09-13 11:15:32 +0000
commit219e664785890f52079bae7e74543920d638796a (patch)
tree774d1ab1e7d87ae4d2c1ef335dcef24a28a7d7e8 /src/mess/drivers/qx10.c
parentaf9a5e817d3eefdda79e801056b29167ecbcdef9 (diff)
Massive change, MACHINE_START\RESET, VIDEO_START\RESET and PALETTE_INIT changed to be members of state classes (no whatsnew)
Diffstat (limited to 'src/mess/drivers/qx10.c')
-rw-r--r--src/mess/drivers/qx10.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/drivers/qx10.c b/src/mess/drivers/qx10.c
index 4c5e09bd419..bc5a70683b8 100644
--- a/src/mess/drivers/qx10.c
+++ b/src/mess/drivers/qx10.c
@@ -138,6 +138,7 @@ public:
UINT8 rx;
}m_rs232c;
+ virtual void palette_init();
};
static UPD7220_DISPLAY_PIXELS( hgdc_display_pixels )
@@ -971,7 +972,7 @@ static UPD7220_INTERFACE( hgdc_intf )
DEVCB_NULL
};
-static PALETTE_INIT( gdc )
+void qx10_state::palette_init()
{
// ...
}
@@ -1019,7 +1020,6 @@ static MACHINE_CONFIG_START( qx10, qx10_state )
MCFG_SCREEN_VISIBLE_AREA(0, 640-1, 0, 480-1)
MCFG_GFXDECODE(qx10)
MCFG_PALETTE_LENGTH(8)
- MCFG_PALETTE_INIT(gdc)
/* Devices */
MCFG_PIT8253_ADD("pit8253_1", qx10_pit8253_1_config)