From 681b9c9675e512b8ea2761fc48d7d2ab9882162f Mon Sep 17 00:00:00 2001 From: hap Date: Mon, 24 May 2021 13:42:20 +0200 Subject: ymtx81z: leave lcd color up to the (internal)artwork --- scripts/src/sound.lua | 4 ++-- src/mame/drivers/ymtx81z.cpp | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/scripts/src/sound.lua b/scripts/src/sound.lua index 91c5465f113..6de550d5dde 100644 --- a/scripts/src/sound.lua +++ b/scripts/src/sound.lua @@ -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 diff --git a/src/mame/drivers/ymtx81z.cpp b/src/mame/drivers/ymtx81z.cpp index 61841a7f385..1700eca1320 100644 --- a/src/mame/drivers/ymtx81z.cpp +++ b/src/mame/drivers/ymtx81z.cpp @@ -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() -- cgit v1.2.3