From 217e9787bd640cbd1b8250e31c0064331ddc302f Mon Sep 17 00:00:00 2001 From: radius Date: Wed, 7 Feb 2018 15:27:28 -0500 Subject: [PATCH] change MAX_CH_AMP on WiiU --- Core/apu.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Core/apu.h b/Core/apu.h index 44b3d45..c50d5a8 100644 --- a/Core/apu.h +++ b/Core/apu.h @@ -7,7 +7,11 @@ #ifdef GB_INTERNAL /* Divides nicely and never overflows with 4 channels and 8 (1-8) volume levels */ +#ifdef WIIU +#define MAX_CH_AMP 0x1FE0 / 4 +#else #define MAX_CH_AMP 0x1FE0 +#endif #define CH_STEP (MAX_CH_AMP/0xF/8) #endif