summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/osborne1.cpp
diff options
context:
space:
mode:
authorGravatarGravatar Dirk Best <mail@dirk-best.de>2016-03-12 02:34:23 +0100
committerGravatarGravatar Dirk Best <mail@dirk-best.de>2016-03-12 02:36:28 +0100
commit75e5db381bd0cbd3fd664ebf83f518cdbd86b345 (patch) (github)
tree7605cf6afe1d7fd1727544b14a55b534b705f25a /src/mame/drivers/osborne1.cpp
parent30b4c5e4c006090afbe47c28970e8e4041eb43e8 (diff)
downloadmame-75e5db381bd0cbd3fd664ebf83f518cdbd86b345.tar.bz2
mame-75e5db381bd0cbd3fd664ebf83f518cdbd86b345.zip
Add support to adjust the screen color
This is now used for monochrome screens instead of creating custom palettes.
Diffstat (limited to 'src/mame/drivers/osborne1.cpp')
-rw-r--r--src/mame/drivers/osborne1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/osborne1.cpp b/src/mame/drivers/osborne1.cpp
index 43bdd2417d3..2581c42b0a4 100644
--- a/src/mame/drivers/osborne1.cpp
+++ b/src/mame/drivers/osborne1.cpp
@@ -244,12 +244,12 @@ static MACHINE_CONFIG_START( osborne1, osborne1_state )
MCFG_CPU_IO_MAP(osborne1_io)
MCFG_Z80_SET_IRQACK_CALLBACK(WRITELINE(osborne1_state, irqack_w))
- MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_ADD_MONOCHROME("screen", RASTER, rgb_t::green)
MCFG_SCREEN_UPDATE_DRIVER(osborne1_state, screen_update)
MCFG_SCREEN_RAW_PARAMS( MAIN_CLOCK, 1024, 0, 104*8, 260, 0, 24*10 )
MCFG_SCREEN_PALETTE("palette")
MCFG_GFXDECODE_ADD("gfxdecode", "palette", osborne1)
- MCFG_PALETTE_ADD_MONOCHROME_GREEN_HIGHLIGHT("palette")
+ MCFG_PALETTE_ADD_MONOCHROME_HIGHLIGHT("palette")
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("speaker", SPEAKER_SOUND, 0)