mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
Further improvements to SCSP FM (kingshriek).
This commit is contained in:
parent
dbf80b011c
commit
dfccbbc479
1 changed files with 4 additions and 1 deletions
|
@ -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 a new issue