From 9b7944415704632be4a1e4e49f98aa07209b565a Mon Sep 17 00:00:00 2001 From: angelosa Date: Tue, 17 Sep 2019 15:23:31 +0200 Subject: Fix MT #07416 --- src/mame/drivers/legionna.cpp | 8 +++++--- src/mame/video/legionna.cpp | 7 ++++--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/mame/drivers/legionna.cpp b/src/mame/drivers/legionna.cpp index e344bd942c7..97bf35ea8e3 100644 --- a/src/mame/drivers/legionna.cpp +++ b/src/mame/drivers/legionna.cpp @@ -45,11 +45,13 @@ Denjin Makai - Needs to patch a sound-related comm to make this to work, same as SD Gundam Psycho Salamander No Kyoui (68k never writes to port 6 for whatever reason). -- There are a bunch of unemulated registers, one of them seems to be a brightness control of some sort. Needs a PCB side-by-side test. +- there are some ROM writes from time to time, could be a coding bug or something related to the protection. -- backdrop color is ugly, especially noticeable in the port harbour stage (level 4). It should be dark blue or black but it's currently grey. +- There's a minor gap in one of the transitions during final stage, after the conveyor belt and the horizontal elevator (the one with tons of grenades), this is known to not happen on a real PCB. -- there are some ROM writes from time to time, could be a coding bug or something related to the protection. +- "Mai T Joplin" text in credits is slightly off of screen area even on real HW (btanb) + +- Initials can be entered into ranking screen only if player(s) never ever continues (btanb) Godzilla -------- diff --git a/src/mame/video/legionna.cpp b/src/mame/video/legionna.cpp index 1b401368103..8c311cb55df 100644 --- a/src/mame/video/legionna.cpp +++ b/src/mame/video/legionna.cpp @@ -73,9 +73,10 @@ void legionna_state::heatbrl_setgfxbank(u16 data) /*xxx- --- ---- ---- banking*/ void legionna_state::denjinmk_setgfxbank(u16 data) { - m_fore_gfx_bank = (data & 0x2000) >> 1;//??? - m_back_gfx_bank = (data & 0x4000) >> 2; - m_mid_gfx_bank = (data & 0x8000) >> 3;//??? + // this is either 0x0000 or 0xe000, except in two endings (MT #07416) + m_back_gfx_bank = (data & 0x2000) >> 1; // Makai/Tarukusu endings + m_mid_gfx_bank = (data & 0x4000) >> 2; //??? + m_fore_gfx_bank = (data & 0x8000) >> 3; //??? m_foreground_layer->mark_all_dirty(); m_background_layer->mark_all_dirty(); -- cgit v1.2.3