-Sound is now enabled by default in linux port

This commit is contained in:
cyberwarriorx 2006-11-12 21:36:24 +00:00
parent 78c2f87c10
commit 7f22251195
2 changed files with 3 additions and 0 deletions

View File

@ -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]);

View File

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