fix blow noise input

(microphone input takes signed values)
This commit is contained in:
RSDuck 2024-10-01 19:52:10 +02:00
parent e9446fa9dc
commit f13c70d028
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}