change MAX_CH_AMP on WiiU

This commit is contained in:
radius 2018-02-07 15:27:28 -05:00
parent 26d51a831c
commit 217e9787bd
1 changed files with 4 additions and 0 deletions

View File

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