ref: 745783a025a5d4c34b6e7a28349334e1c8007d47
parent: 7d95fb8ea3215dbfcc2f9c9f6a182c51c33df51d
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sun Apr 19 09:51:45 EDT 2020
Wii U samples are signed
--- a/src/Backends/Audio/WiiU.cpp
+++ b/src/Backends/Audio/WiiU.cpp
@@ -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 @@
if (sound != NULL)
{
- unsigned char *samples_copy = (unsigned char*)malloc(length);
+ signed char *samples_copy = (signed char*)malloc(length);
if (samples_copy != NULL)
{