diff --git a/desmume/src/cli/main.c b/desmume/src/cli/main.c index 7c8b4e612..c2dea0902 100644 --- a/desmume/src/cli/main.c +++ b/desmume/src/cli/main.c @@ -43,6 +43,7 @@ int main(int argc, char ** argv) { LogStart(); #endif NDS_Init(); + SPU_ChangeSoundCore(SNDCORE_SDL, 735 * 4); if (argc < 2) { fprintf(stderr, "usage: %s filename\n", argv[0]); diff --git a/desmume/src/gtk/desmume.c b/desmume/src/gtk/desmume.c index a47982048..ec43b97bc 100644 --- a/desmume/src/gtk/desmume.c +++ b/desmume/src/gtk/desmume.c @@ -7,6 +7,7 @@ #include "../armcpu.h" #include "../NDSSystem.h" #include "../cflash.h" +#include "../sndsdl.h" #include "desmume.h" @@ -23,6 +24,7 @@ u32 desmume_last_cycle; void desmume_init() { NDS_Init(); + SPU_ChangeSoundCore(SNDCORE_SDL, 735 * 4); execute = FALSE; }