File tree 2 files changed +26
-1
lines changed
2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ OBJDIR = ./obj
19
19
BINDIR = ./bin
20
20
TOOLSDIR = ./tools
21
21
22
- LINK_FLAGS = -O1 -L$(ROOTDIR ) /lib -L$(ROOTDIR ) /mips64-elf/lib -ldragon -lmikmod - lmad -lyaml -lc -lm -ldragonsys -lnosys $(LIBS ) -Tn64.ld
22
+ LINK_FLAGS = -O1 -L$(ROOTDIR ) /lib -L$(ROOTDIR ) /mips64-elf/lib -ldragon -lmad -lyaml -lc -lm -ldragonsys -lnosys $(LIBS ) -Tn64.ld
23
23
PROG_NAME = OS64
24
24
CFLAGS = -std=gnu99 -march=vr4300 -mtune=vr4300 -O1 -I$(INCDIR ) -I$(ROOTDIR ) /include -I$(ROOTDIR ) /mips64-elf/include -lpthread -lrt -D_REENTRANT -DUSE_TRUETYPE $(SET_DEBUG )
25
25
ASFLAGS = -mtune=vr4300 -march=vr4300
Original file line number Diff line number Diff line change 3
3
// See LICENSE file in the project root for full license information.
4
4
//
5
5
6
+ #if !defined(SOUND_ENABLED )
7
+
8
+ void sndInit (void )
9
+ {
10
+ }
11
+
12
+ void sndPlayBGM (char * filename )
13
+ {
14
+ }
15
+
16
+ void sndStopAll (void )
17
+ {
18
+ }
19
+
20
+ void sndPlaySFX (char * filename )
21
+ {
22
+ }
23
+
24
+ void sndUpdate (void )
25
+ {
26
+ }
27
+
28
+ #else
29
+
6
30
#include <mikmod.h>
7
31
#include <libdragon.h> //needed for audio_get_frequency()
8
32
#include "hashtable.h"
@@ -111,3 +135,4 @@ void sndUpdate(void)
111
135
112
136
}
113
137
}
138
+ #endif
You can’t perform that action at this time.
0 commit comments