ymtx81z: leave lcd color up to the (internal)artwork

This commit is contained in:
hap 2021-05-24 13:42:20 +02:00
parent f6f29341db
commit 681b9c9675
2 changed files with 7 additions and 6 deletions

View File

@ -1170,8 +1170,8 @@ end
---------------------------------------------------
-- Yamaha FM synthesizers
--@src/devices/sound/ymopm.h,SOUNDS["YM2151"] = true
--@src/devices/sound/ymopm.h,SOUNDS["YM2414"] = true
--@src/devices/sound/ymopm.h,SOUNDS["YM3806"] = true
--@src/devices/sound/ymopz.h,SOUNDS["YM2414"] = true
--@src/devices/sound/ymopq.h,SOUNDS["YM3806"] = true
--@src/devices/sound/ymopn.h,SOUNDS["YM2203"] = true
--@src/devices/sound/ymopl.h,SOUNDS["YM2413"] = true
--@src/devices/sound/ymopn.h,SOUNDS["YM2608"] = true

View File

@ -7,13 +7,14 @@
****************************************************************************/
#include "emu.h"
//#include "bus/midi/midi.h"
#include "bus/midi/midi.h"
#include "cpu/m6800/m6801.h"
#include "machine/clock.h"
#include "machine/nvram.h"
#include "sound/ymopz.h"
#include "video/hd44780.h"
#include "bus/midi/midi.h"
#include "emupal.h"
#include "screen.h"
#include "speaker.h"
@ -58,8 +59,8 @@ HD44780_PIXEL_UPDATE(ymtx81z_state::lcd_pixel_update)
void ymtx81z_state::palette_init(palette_device &palette)
{
palette.set_pen_color(0, rgb_t(0x00, 0x00, 0x00)); // background
palette.set_pen_color(1, rgb_t(0xd8, 0xff, 0x18)); // lcd pixel on
palette.set_pen_color(2, rgb_t(0xd8/10, 0xff/10, 0x18/10)); // lcd pixel off
palette.set_pen_color(1, rgb_t(0xff, 0xff, 0xff)); // lcd pixel on
palette.set_pen_color(2, rgb_t(0x18, 0x18, 0x18)); // lcd pixel off
}
void ymtx81z_state::machine_start()