mirror of
https://github.com/libretro/mame2003-plus-libretro.git
synced 2024-11-23 16:29:44 +00:00
polepos sample tweak
This commit is contained in:
parent
4986bd37b3
commit
28a3bcc3db
@ -637,7 +637,7 @@ logerror("%04x: custom 54XX write %02x\n",activecpu_get_pc(),data);
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//int freq = (int)( ( 22050.0f / 10.0f ) * (float)(data & 0x0f) ); /* this is wrong, it's a volume and not a freq */
|
if ( data ==120) data =126;
|
||||||
int freq = (int) 22050 + (data - 112)* 750;
|
int freq = (int) 22050 + (data - 112)* 750;
|
||||||
|
|
||||||
if (!sample_playing(0))
|
if (!sample_playing(0))
|
||||||
|
Loading…
Reference in New Issue
Block a user