mirror of
https://github.com/libretro/NP2kai.git
synced 2024-10-06 22:33:28 +00:00
replace libretro-common 19
This commit is contained in:
parent
eafc21c1b7
commit
d950f5c29e
@ -131,7 +131,7 @@ void OPM::SetVolume(int db)
|
||||
{
|
||||
db = Min(db, 20);
|
||||
if (db > -192)
|
||||
fmvolume = int(16384.0 * pow(10, db / 40.0));
|
||||
fmvolume = int(16384.0 * pow((double)10, (double)db / 40.0));
|
||||
else
|
||||
fmvolume = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user