mirror of
https://github.com/holub/mame
synced 2025-07-05 01:48:29 +03:00
-craft: Fixed bad graphics due to experimentation, nw
This commit is contained in:
parent
779e5b546d
commit
a5ae68efbe
@ -99,13 +99,10 @@ WRITE8_MEMBER(craft_state::port_w)
|
||||
uint8_t old_port_b = m_port_b;
|
||||
uint8_t pins = data;
|
||||
uint8_t changed = pins ^ old_port_b;
|
||||
if (BIT(changed, 1))
|
||||
if (BIT(changed, 1) && BIT(data, 1))
|
||||
{
|
||||
m_frame_start_cycle = machine().time().as_ticks(MASTER_CLOCK);
|
||||
video_update();
|
||||
if (BIT(pins, 1))
|
||||
{
|
||||
m_frame_start_cycle = machine().time().as_ticks(MASTER_CLOCK);
|
||||
}
|
||||
}
|
||||
if (BIT(changed, 3))
|
||||
{
|
||||
@ -117,9 +114,9 @@ WRITE8_MEMBER(craft_state::port_w)
|
||||
}
|
||||
|
||||
case AVR8_IO_PORTC:
|
||||
video_update();
|
||||
m_port_c = data;
|
||||
m_latched_color = m_port_c;
|
||||
video_update();
|
||||
break;
|
||||
|
||||
case AVR8_IO_PORTD:
|
||||
|
Loading…
Reference in New Issue
Block a user