mirror of
https://github.com/holub/mame
synced 2025-04-22 00:11:58 +03:00
upd7220: mm1m6 seems to depend on fifo showing empty when there's one byte left to read (nw)
This commit is contained in:
parent
43c85d594d
commit
651a18c181
@ -316,11 +316,10 @@ inline void upd7220_device::dequeue(UINT8 *data, int *flag)
|
||||
|
||||
m_fifo_ptr--;
|
||||
|
||||
if (m_fifo_ptr == -1)
|
||||
{
|
||||
m_sr &= ~UPD7220_SR_DATA_READY;
|
||||
if (m_fifo_ptr <= 0)
|
||||
m_sr |= UPD7220_SR_FIFO_EMPTY;
|
||||
}
|
||||
if (m_fifo_ptr == -1)
|
||||
m_sr &= ~UPD7220_SR_DATA_READY;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -70,9 +70,6 @@ ADDRESS_MAP_END
|
||||
UPD7220_DISPLAY_PIXELS_MEMBER( mm1_state::hgdc_display_pixels )
|
||||
{
|
||||
UINT16 data = m_video_ram[address >> 1];
|
||||
if(y >= 25)
|
||||
y -= 25;
|
||||
|
||||
for (int i = 0; i < 16; i++)
|
||||
{
|
||||
if (BIT(data, i)) bitmap.pix32(y, x + i) = m_palette->pen(1);
|
||||
|
Loading…
Reference in New Issue
Block a user