mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-01 11:29:40 -06:00
fix possible overflow in wav resampling. now it doesn't shit itself when loading large wavs.
This commit is contained in:
@ -161,7 +161,7 @@ void MicLoadWav(char* name)
|
||||
if (!SDL_LoadWAV(name, &format, &buf, &len))
|
||||
return;
|
||||
|
||||
const int dstfreq = 44100;
|
||||
const u64 dstfreq = 44100;
|
||||
|
||||
if (format.format == AUDIO_S16 || format.format == AUDIO_U16)
|
||||
{
|
||||
|
Reference in New Issue
Block a user