mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
forgot one
This commit is contained in:
parent
9dee45f039
commit
2662d0b95c
@ -455,6 +455,12 @@ void ymf271_device::update_pcm(int slotnum, INT32 *mixp, int length)
|
||||
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->bits == 8)
|
||||
|
Loading…
Reference in New Issue
Block a user