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 7-zip support
|
||||||
INCLUDE_7Z_SUPPORT = 1
|
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
|
# Include symbols and other debug information in the executable
|
||||||
#SYMBOL = 1
|
#SYMBOL = 1
|
||||||
|
|
||||||
|
|
|
@ -278,6 +278,10 @@ ifdef INCLUDE_7Z_SUPPORT
|
||||||
DEF := $(DEF) -DINCLUDE_7Z_SUPPORT
|
DEF := $(DEF) -DINCLUDE_7Z_SUPPORT
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef TOAPLAN_SOUND_SAMPLES_HACK
|
||||||
|
DEF := $(DEF) -DTOAPLAN_SOUND_SAMPLES_HACK
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef LSB_FIRST
|
ifdef LSB_FIRST
|
||||||
DEF := $(DEF) -DLSB_FIRST
|
DEF := $(DEF) -DLSB_FIRST
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -195,6 +195,10 @@ ifdef INCLUDE_7Z_SUPPORT
|
||||||
DEF := $(DEF) /DINCLUDE_7Z_SUPPORT
|
DEF := $(DEF) /DINCLUDE_7Z_SUPPORT
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef TOAPLAN_SOUND_SAMPLES_HACK
|
||||||
|
DEF := $(DEF) /DTOAPLAN_SOUND_SAMPLES_HACK
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef LSB_FIRST
|
ifdef LSB_FIRST
|
||||||
DEF := $(DEF) /DLSB_FIRST
|
DEF := $(DEF) /DLSB_FIRST
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
#include "toaplan.h"
|
#include "toaplan.h"
|
||||||
#include "samples.h"
|
#include "samples.h"
|
||||||
|
|
||||||
#define TOAPLAN_SOUND_SAMPLES_HACK 1 // move this to makefile
|
|
||||||
|
|
||||||
#define REFRESHRATE 60
|
#define REFRESHRATE 60
|
||||||
#define VBLANK_LINES (32)
|
#define VBLANK_LINES (32)
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
#include "toaplan.h"
|
#include "toaplan.h"
|
||||||
#include "samples.h"
|
#include "samples.h"
|
||||||
|
|
||||||
#define TOAPLAN_SOUND_SAMPLES_HACK 1 // move this to makefile
|
|
||||||
|
|
||||||
#define REFRESHRATE 57.59
|
#define REFRESHRATE 57.59
|
||||||
#define VBLANK_LINES (32)
|
#define VBLANK_LINES (32)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue