mirror of https://github.com/bsnes-emu/bsnes.git
Refinements for the Wii U port
This commit is contained in:
parent
00c67f8842
commit
81f808e184
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue