mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-23 17:59:58 +00:00
Merge pull request #1626 from kamiyo/fix-wiimote-volume-divisor
Fix Wiimote speaker divisor for format 0x00
This commit is contained in:
commit
b34c80d138
@ -97,7 +97,10 @@ void Wiimote::SpeakerData(wm_speaker_data* sd)
|
||||
|
||||
// Following details from http://wiibrew.org/wiki/Wiimote#Speaker
|
||||
sample_rate_dividend = 6000000;
|
||||
volume_divisor = 0x40;
|
||||
|
||||
// 0 - 127
|
||||
// TODO: does it go beyond 127 for format == 0x40?
|
||||
volume_divisor = 0x7F;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user