set sample rate to 44100 on WIIU

This commit is contained in:
radius 2018-02-05 18:31:31 -05:00
parent a939fed872
commit dd7704e572
1 changed files with 5 additions and 1 deletions

View File

@ -6,7 +6,12 @@
#include <signal.h>
#include <stdarg.h>
#ifndef WIIU
#define AUDIO_FREQUENCY 384000
#else
#define AUDIO_FREQUENCY 44100
#endif
#define FRAME_RATE (0x400000 / 70224.0)
#ifdef _WIN32
@ -54,7 +59,6 @@ signed short soundbuf[1024 * 2];
char retro_system_directory[4096];
char retro_save_directory[4096];
char retro_game_path[4096];
int RLOOP=1;
GB_gameboy_t gb;
extern const unsigned char dmg_boot[], cgb_boot[], agb_boot[];