mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
Further improvements to SCSP FM (kingshriek).
This commit is contained in:
parent
dbf80b011c
commit
dfccbbc479
@ -1070,7 +1070,10 @@ INLINE INT32 SCSP_UpdateSlot(struct _SCSP *SCSP, struct _SLOT *slot)
|
||||
sample=(sample*EG_TABLE[EG_Update(slot)>>(SHIFT-10)])>>SHIFT;
|
||||
|
||||
if(!STWINH(slot))
|
||||
*RBUFDST=sample;
|
||||
{
|
||||
unsigned short Enc=((TL(slot))<<0x0)|(0x7<<0xd);
|
||||
*RBUFDST=(sample*SCSP->LPANTABLE[Enc])>>(SHIFT+1);
|
||||
}
|
||||
|
||||
return sample;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user