move TOAPLAN_SOUND_SAMPLES_HACK to makefile option
This commit is contained in:
parent
59d46431d9
commit
a0e44d736c
3
makefile
3
makefile
|
@ -33,6 +33,9 @@ BUILD_X86_ASM = 1
|
|||
# Include 7-zip support
|
||||
INCLUDE_7Z_SUPPORT = 1
|
||||
|
||||
# Include Toaplan sound sample hacks for games without MCU dumps
|
||||
TOAPLAN_SOUND_SAMPLES_HACK = 1
|
||||
|
||||
# Include symbols and other debug information in the executable
|
||||
#SYMBOL = 1
|
||||
|
||||
|
|
|
@ -278,6 +278,10 @@ ifdef INCLUDE_7Z_SUPPORT
|
|||
DEF := $(DEF) -DINCLUDE_7Z_SUPPORT
|
||||
endif
|
||||
|
||||
ifdef TOAPLAN_SOUND_SAMPLES_HACK
|
||||
DEF := $(DEF) -DTOAPLAN_SOUND_SAMPLES_HACK
|
||||
endif
|
||||
|
||||
ifdef LSB_FIRST
|
||||
DEF := $(DEF) -DLSB_FIRST
|
||||
endif
|
||||
|
|
|
@ -195,6 +195,10 @@ ifdef INCLUDE_7Z_SUPPORT
|
|||
DEF := $(DEF) /DINCLUDE_7Z_SUPPORT
|
||||
endif
|
||||
|
||||
ifdef TOAPLAN_SOUND_SAMPLES_HACK
|
||||
DEF := $(DEF) /DTOAPLAN_SOUND_SAMPLES_HACK
|
||||
endif
|
||||
|
||||
ifdef LSB_FIRST
|
||||
DEF := $(DEF) /DLSB_FIRST
|
||||
endif
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#include "toaplan.h"
|
||||
#include "samples.h"
|
||||
|
||||
#define TOAPLAN_SOUND_SAMPLES_HACK 1 // move this to makefile
|
||||
|
||||
#define REFRESHRATE 60
|
||||
#define VBLANK_LINES (32)
|
||||
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#include "toaplan.h"
|
||||
#include "samples.h"
|
||||
|
||||
#define TOAPLAN_SOUND_SAMPLES_HACK 1 // move this to makefile
|
||||
|
||||
#define REFRESHRATE 57.59
|
||||
#define VBLANK_LINES (32)
|
||||
|
||||
|
|
Loading…
Reference in New Issue