summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/mame/drivers/nbmj8891.c8
-rw-r--r--src/mame/video/nbmj8891.c8
2 files changed, 10 insertions, 6 deletions
diff --git a/src/mame/drivers/nbmj8891.c b/src/mame/drivers/nbmj8891.c
index c480b3d9833..c6dd0bf2bf8 100644
--- a/src/mame/drivers/nbmj8891.c
+++ b/src/mame/drivers/nbmj8891.c
@@ -708,10 +708,10 @@ static INPUT_PORTS_START( hanamomo )
/* This DIPSW is fake. Type A is common, Type B is rare */
PORT_START("FONTTYPE")
- PORT_CONFNAME( 0x01, 0x00, "Font Type" )
- PORT_CONFSETTING( 0x00, "Type-A" )
- PORT_CONFSETTING( 0x01, "Type-B" )
- PORT_BIT( 0xfe, IP_ACTIVE_HIGH, IPT_UNUSED )
+ PORT_CONFNAME( 0x01, 0x00, "Font Type" )
+ PORT_CONFSETTING( 0x00, "Type-A" )
+ PORT_CONFSETTING( 0x01, "Type-B" )
+ PORT_BIT( 0xfe, IP_ACTIVE_HIGH, IPT_UNUSED )
PORT_INCLUDE( nbmjcontrols )
INPUT_PORTS_END
diff --git a/src/mame/video/nbmj8891.c b/src/mame/video/nbmj8891.c
index fcf76234a58..868a2459bd8 100644
--- a/src/mame/video/nbmj8891.c
+++ b/src/mame/video/nbmj8891.c
@@ -230,6 +230,10 @@ WRITE8_MEMBER(nbmj8891_state::nbmj8891_taiwanmb_mcu_w)
nbmj8891_gfxdraw(machine());
}
+// m_blitter_direction_x = 0; // for debug
+// m_blitter_direction_y = 0; // for debug
+ m_dispflag = 1; // for debug
+
m_param_cnt++;
}
@@ -373,9 +377,9 @@ static void nbmj8891_gfxdraw(running_machine &machine)
color = GFX[gfxaddr++];
// for hanamomo font type
- if ((state->ioport("FONTTYPE")->read()) == 0)
+ if (nb1413m3_type == NB1413M3_HANAMOMO)
{
- if (nb1413m3_type == NB1413M3_HANAMOMO)
+ if ((state->ioport("FONTTYPE")->read()) == 0x00)
{
if ((gfxaddr >= 0x20000) && (gfxaddr < 0x28000))
{