mirror of
https://github.com/holub/mame
synced 2025-07-04 09:28:51 +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;
|
sample=(sample*EG_TABLE[EG_Update(slot)>>(SHIFT-10)])>>SHIFT;
|
||||||
|
|
||||||
if(!STWINH(slot))
|
if(!STWINH(slot))
|
||||||
*RBUFDST=sample;
|
{
|
||||||
|
unsigned short Enc=((TL(slot))<<0x0)|(0x7<<0xd);
|
||||||
|
*RBUFDST=(sample*SCSP->LPANTABLE[Enc])>>(SHIFT+1);
|
||||||
|
}
|
||||||
|
|
||||||
return sample;
|
return sample;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user