Wii U samples are signed

This commit is contained in:
Clownacy 2020-04-19 13:51:45 +01:00
parent 7d95fb8ea3
commit 745783a025

View file

@ -18,7 +18,7 @@
struct AudioBackend_Sound
{
unsigned char *samples;
signed char *samples;
size_t length;
AXVoice *voice;
unsigned int frequency;
@ -165,7 +165,7 @@ AudioBackend_Sound* AudioBackend_CreateSound(unsigned int frequency, const unsig
if (sound != NULL)
{
unsigned char *samples_copy = (unsigned char*)malloc(length);
signed char *samples_copy = (signed char*)malloc(length);
if (samples_copy != NULL)
{