(add note)

This commit is contained in:
Michaël Banaan Ananas 2013-06-28 20:21:00 +00:00
parent 62b992e249
commit 43390ddc24
2 changed files with 7 additions and 6 deletions

View File

@ -454,12 +454,12 @@ void ymf271_device::update_pcm(int slotnum, INT32 *mixp, int length)
// overflow
slot->stepptr &= 0xffff;
slot->stepptr |= ((UINT64)slot->loopaddr<<16);
}
if ((slot->stepptr>>16) > slot->endaddr)
{
// still overflow? (triggers in rdft2, rarely)
slot->stepptr &= 0xffff;
slot->stepptr |= ((UINT64)slot->endaddr<<16);
if ((slot->stepptr>>16) > slot->endaddr)
{
// still overflow? (triggers in rdft2, rarely)
slot->stepptr &= 0xffff;
slot->stepptr |= ((UINT64)slot->endaddr<<16);
}
}
}

View File

@ -425,6 +425,7 @@ static INPUT_PORTS_START( tetristh )
TAITO_MACHINE_NO_COCKTAIL_LOC(SW1)
TAITO_COINAGE_JAPAN_OLD_LOC(SW1)
// TODO: verify/complete DSWB
PORT_START("DSWB")
TAITO_DIFFICULTY_LOC(SW2)
PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x04, "SW2:3" )