summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/ohmygod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/ohmygod.cpp')
-rw-r--r--src/mame/drivers/ohmygod.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/drivers/ohmygod.cpp b/src/mame/drivers/ohmygod.cpp
index 30bc747b09b..bc50df1fd15 100644
--- a/src/mame/drivers/ohmygod.cpp
+++ b/src/mame/drivers/ohmygod.cpp
@@ -337,12 +337,11 @@ MACHINE_CONFIG_START(ohmygod_state::ohmygod)
MCFG_SCREEN_SIZE(64*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(12*8, (64-12)*8-1, 0*8, 30*8-1 )
MCFG_SCREEN_UPDATE_DRIVER(ohmygod_state, screen_update_ohmygod)
- MCFG_SCREEN_PALETTE("palette")
+ MCFG_SCREEN_PALETTE(m_palette)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_ohmygod)
- MCFG_PALETTE_ADD("palette", 1024)
- MCFG_PALETTE_FORMAT(xGGGGGRRRRRBBBBB)
+ PALETTE(config, m_palette).set_format(palette_device::xGRB_555, 1024);
/* sound hardware */
SPEAKER(config, "mono").front_center();