Refinements for the Wii U port

This commit is contained in:
Lior Halphon 2018-02-10 15:02:22 +02:00
parent 00c67f8842
commit 81f808e184
2 changed files with 4 additions and 2 deletions

View File

@ -8,7 +8,8 @@
#ifdef GB_INTERNAL #ifdef GB_INTERNAL
/* Divides nicely and never overflows with 4 channels and 8 (1-8) volume levels */ /* Divides nicely and never overflows with 4 channels and 8 (1-8) volume levels */
#ifdef WIIU #ifdef WIIU
#define MAX_CH_AMP 0x1FE0 / 4 /* Todo: Remove this hack once https://github.com/libretro/RetroArch/issues/6252 is fixed*/
#define MAX_CH_AMP (0x1FE0 / 4)
#else #else
#define MAX_CH_AMP 0x1FE0 #define MAX_CH_AMP 0x1FE0
#endif #endif

View File

@ -9,7 +9,8 @@
#ifndef WIIU #ifndef WIIU
#define AUDIO_FREQUENCY 384000 #define AUDIO_FREQUENCY 384000
#else #else
#define AUDIO_FREQUENCY 44100 /* Use the internal sample rate for the Wii U */
#define AUDIO_FREQUENCY 48000
#endif #endif
#define FRAME_RATE (0x400000 / 70224.0) #define FRAME_RATE (0x400000 / 70224.0)