mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-13 06:15:07 +01:00
[SDL] added support for nuked cycle-accurate YM2413 core (optional)
This commit is contained in:
parent
7b52165dd5
commit
dd4ce564da
@ -23,7 +23,8 @@
|
|||||||
# -DUSE_LIBVORBIS : enable OGG file support for CD emulation using external VORBIS library
|
# -DUSE_LIBVORBIS : enable OGG file support for CD emulation using external VORBIS library
|
||||||
# -DISABLE_MANY_OGG_OPEN_FILES : only have one OGG file opened at once to save RAM
|
# -DISABLE_MANY_OGG_OPEN_FILES : only have one OGG file opened at once to save RAM
|
||||||
# -DMAXROMSIZE : defines maximal size of ROM/SRAM buffer (also shared with CD hardware)
|
# -DMAXROMSIZE : defines maximal size of ROM/SRAM buffer (also shared with CD hardware)
|
||||||
# -DHAVE_YM3438_CORE : enable (configurable) support for Nuked cycle-accurate YM3438 core
|
# -DHAVE_YM3438_CORE : enable (configurable) support for Nuked cycle-accurate YM2612/YM3438 core
|
||||||
|
# -DHAVE_OPLL_CORE : enable (configurable) support for Nuked cycle-accurate YM2413 core
|
||||||
# -DHOOK_CPU : enable CPU hooks
|
# -DHOOK_CPU : enable CPU hooks
|
||||||
|
|
||||||
NAME = gen_sdl
|
NAME = gen_sdl
|
||||||
@ -33,7 +34,7 @@ CFLAGS = `sdl-config --cflags` -march=native -O6 -fomit-frame-pointer -Wall -
|
|||||||
#-g -ggdb -pg
|
#-g -ggdb -pg
|
||||||
#-fomit-frame-pointer
|
#-fomit-frame-pointer
|
||||||
#LDFLAGS = -pg
|
#LDFLAGS = -pg
|
||||||
DEFINES = -DLSB_FIRST -DUSE_16BPP_RENDERING -DUSE_LIBTREMOR -DUSE_LIBCHDR -DMAXROMSIZE=33554432 -DHAVE_YM3438_CORE
|
DEFINES = -DLSB_FIRST -DUSE_16BPP_RENDERING -DUSE_LIBTREMOR -DUSE_LIBCHDR -DMAXROMSIZE=33554432 -DHAVE_YM3438_CORE -DHAVE_OPLL_CORE
|
||||||
|
|
||||||
ifneq ($(OS),Windows_NT)
|
ifneq ($(OS),Windows_NT)
|
||||||
DEFINES += -DHAVE_ALLOCA_H
|
DEFINES += -DHAVE_ALLOCA_H
|
||||||
|
@ -23,7 +23,8 @@
|
|||||||
# -DUSE_LIBVORBIS : enable OGG file support for CD emulation using external VORBIS library
|
# -DUSE_LIBVORBIS : enable OGG file support for CD emulation using external VORBIS library
|
||||||
# -DISABLE_MANY_OGG_OPEN_FILES : only have one OGG file opened at once to save RAM
|
# -DISABLE_MANY_OGG_OPEN_FILES : only have one OGG file opened at once to save RAM
|
||||||
# -DMAXROMSIZE : defines maximal size of ROM/SRAM buffer (also shared with CD hardware)
|
# -DMAXROMSIZE : defines maximal size of ROM/SRAM buffer (also shared with CD hardware)
|
||||||
# -DHAVE_YM3438_CORE : enable (configurable) support for Nuked cycle-accurate YM3438 core
|
# -DHAVE_YM3438_CORE : enable (configurable) support for Nuked cycle-accurate YM2612/YM3438 core
|
||||||
|
# -DHAVE_OPLL_CORE : enable (configurable) support for Nuked cycle-accurate YM2413 core
|
||||||
# -DHOOK_CPU : enable CPU hooks
|
# -DHOOK_CPU : enable CPU hooks
|
||||||
|
|
||||||
NAME = gen_sdl2
|
NAME = gen_sdl2
|
||||||
@ -33,7 +34,7 @@ CFLAGS = `sdl2-config --cflags` -march=native -O6 -fomit-frame-pointer -Wall
|
|||||||
#-g -ggdb -pg
|
#-g -ggdb -pg
|
||||||
#-fomit-frame-pointer
|
#-fomit-frame-pointer
|
||||||
#LDFLAGS = -pg
|
#LDFLAGS = -pg
|
||||||
DEFINES = -DLSB_FIRST -DUSE_16BPP_RENDERING -DUSE_LIBTREMOR -DUSE_LIBCHDR -DMAXROMSIZE=33554432 -DHAVE_YM3438_CORE
|
DEFINES = -DLSB_FIRST -DUSE_16BPP_RENDERING -DUSE_LIBTREMOR -DUSE_LIBCHDR -DMAXROMSIZE=33554432 -DHAVE_YM3438_CORE -DHAVE_OPLL_CORE
|
||||||
|
|
||||||
ifneq ($(OS),Windows_NT)
|
ifneq ($(OS),Windows_NT)
|
||||||
DEFINES += -DHAVE_ALLOCA_H
|
DEFINES += -DHAVE_ALLOCA_H
|
||||||
|
@ -23,6 +23,7 @@ void set_config_defaults(void)
|
|||||||
config.ym2612 = YM2612_DISCRETE;
|
config.ym2612 = YM2612_DISCRETE;
|
||||||
config.ym2413 = 2; /* = AUTO (0 = always OFF, 1 = always ON) */
|
config.ym2413 = 2; /* = AUTO (0 = always OFF, 1 = always ON) */
|
||||||
config.ym3438 = 0;
|
config.ym3438 = 0;
|
||||||
|
config.opll = 0;
|
||||||
config.mono = 0;
|
config.mono = 0;
|
||||||
|
|
||||||
/* system options */
|
/* system options */
|
||||||
|
@ -21,6 +21,7 @@ typedef struct
|
|||||||
uint8 ym2612;
|
uint8 ym2612;
|
||||||
uint8 ym2413;
|
uint8 ym2413;
|
||||||
uint8 ym3438;
|
uint8 ym3438;
|
||||||
|
uint8 opll;
|
||||||
int16 psg_preamp;
|
int16 psg_preamp;
|
||||||
int16 fm_preamp;
|
int16 fm_preamp;
|
||||||
uint32 lp_range;
|
uint32 lp_range;
|
||||||
|
Loading…
Reference in New Issue
Block a user