mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 01:49:42 -06:00
fix blow noise input
(microphone input takes signed values)
This commit is contained in:
@ -321,7 +321,7 @@ void EmuInstance::micProcess()
|
||||
|
||||
for (int i = 0; i < 735; i++)
|
||||
{
|
||||
tmp[i] = mic_blow[sample_pos];
|
||||
tmp[i] = mic_blow[sample_pos] ^ 0x8000;
|
||||
sample_pos++;
|
||||
if (sample_pos >= sample_len) sample_pos = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user