mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
nes_apu: update stream before reading statusreg
This commit is contained in:
parent
dda13b44f3
commit
46b3f81f94
@ -699,6 +699,8 @@ u8 nesapu_device::read(offs_t offset)
|
|||||||
{
|
{
|
||||||
if (offset == 0x15) /*FIXED* Address $4015 has different behaviour*/
|
if (offset == 0x15) /*FIXED* Address $4015 has different behaviour*/
|
||||||
{
|
{
|
||||||
|
m_stream->update();
|
||||||
|
|
||||||
int readval = 0;
|
int readval = 0;
|
||||||
if (m_APU.squ[0].vbl_length > 0)
|
if (m_APU.squ[0].vbl_length > 0)
|
||||||
readval |= 0x01;
|
readval |= 0x01;
|
||||||
|
@ -33,6 +33,7 @@ known chips:
|
|||||||
@A70 HD38800 1982, Coleco Galaxian
|
@A70 HD38800 1982, Coleco Galaxian
|
||||||
@A73 HD38800 1982, Mattel Star Hawk (PT-317B)
|
@A73 HD38800 1982, Mattel Star Hawk (PT-317B)
|
||||||
@A77 HD38800 1982, Bandai Frisky Tom (PT-327A)
|
@A77 HD38800 1982, Bandai Frisky Tom (PT-327A)
|
||||||
|
*A87 HD38800 1982, Gakken Paint Roller
|
||||||
@A88 HD38800 1982, Tomy Tron (THN-02)
|
@A88 HD38800 1982, Tomy Tron (THN-02)
|
||||||
@B01 HD38800 1982, Gakken Crazy Kong
|
@B01 HD38800 1982, Gakken Crazy Kong
|
||||||
@B19 HD38800 1982, Bandai Zaxxon
|
@B19 HD38800 1982, Bandai Zaxxon
|
||||||
|
Loading…
Reference in New Issue
Block a user