diff options
Diffstat (limited to 'src/mess/drivers/hp48.c')
-rw-r--r-- | src/mess/drivers/hp48.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mess/drivers/hp48.c b/src/mess/drivers/hp48.c index eadda806c14..1f72e352016 100644 --- a/src/mess/drivers/hp48.c +++ b/src/mess/drivers/hp48.c @@ -947,7 +947,8 @@ static MACHINE_CONFIG_START( hp48_common, hp48_state ) MCFG_SCREEN_VISIBLE_AREA( 0, 130, 0, 63 ) MCFG_SCREEN_UPDATE_DRIVER(hp48_state, screen_update_hp48) - MCFG_PALETTE_LENGTH( 256 ) /* monochrome, but with varying contrast and grayscale */ + MCFG_PALETTE_ADD( "palette", 256 ) /* monochrome, but with varying contrast and grayscale */ + MCFG_PALETTE_INIT_OWNER(hp48_state, hp48) /* sound */ MCFG_SPEAKER_STANDARD_MONO( "mono" ) |