diff options
author | 2012-09-13 11:15:32 +0000 | |
---|---|---|
committer | 2012-09-13 11:15:32 +0000 | |
commit | 219e664785890f52079bae7e74543920d638796a (patch) | |
tree | 774d1ab1e7d87ae4d2c1ef335dcef24a28a7d7e8 /src/mess/drivers/psion.c | |
parent | af9a5e817d3eefdda79e801056b29167ecbcdef9 (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/psion.c')
-rw-r--r-- | src/mess/drivers/psion.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mess/drivers/psion.c b/src/mess/drivers/psion.c index 1db7ee0ebbc..625fe511852 100644 --- a/src/mess/drivers/psion.c +++ b/src/mess/drivers/psion.c @@ -439,10 +439,10 @@ void psion_state::machine_reset() update_banks(machine()); } -static PALETTE_INIT( psion ) +void psion_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 const gfx_layout psion_charlayout = @@ -481,7 +481,6 @@ static MACHINE_CONFIG_START( psion_2lines, psion_state ) MCFG_SCREEN_VISIBLE_AREA(0, 6*16-1, 0, 9*2-1) MCFG_DEFAULT_LAYOUT(layout_lcd) MCFG_PALETTE_LENGTH(2) - MCFG_PALETTE_INIT(psion) MCFG_GFXDECODE(psion) MCFG_HD44780_ADD("hd44780", psion_2line_display) |