summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/mstation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/drivers/mstation.c')
-rw-r--r--src/mess/drivers/mstation.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mess/drivers/mstation.c b/src/mess/drivers/mstation.c
index b755613ee94..b24682158df 100644
--- a/src/mess/drivers/mstation.c
+++ b/src/mess/drivers/mstation.c
@@ -87,6 +87,7 @@ public:
virtual void machine_start();
virtual void machine_reset();
UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ virtual void palette_init();
};
READ8_MEMBER( mstation_state::flash_0x0000_read_handler )
@@ -486,10 +487,10 @@ static TIMER_DEVICE_CALLBACK( mstation_kb_timer )
state->refresh_ints();
}
-static PALETTE_INIT( mstation )
+void mstation_state::palette_init()
{
- palette_set_color(machine, 0, MAKE_RGB(138, 146, 148));
- palette_set_color(machine, 1, MAKE_RGB(92, 83, 88));
+ palette_set_color(machine(), 0, MAKE_RGB(138, 146, 148));
+ palette_set_color(machine(), 1, MAKE_RGB(92, 83, 88));
}
static RP5C01_INTERFACE( rtc_intf )
@@ -512,7 +513,6 @@ static MACHINE_CONFIG_START( mstation, mstation_state )
MCFG_SCREEN_VISIBLE_AREA(0, 320-1, 0, 128-1)
MCFG_PALETTE_LENGTH(2)
- MCFG_PALETTE_INIT(mstation)
MCFG_DEFAULT_LAYOUT(layout_lcd)
MCFG_AMD_29F080_ADD("flash0")