From 157390bc5ce31f936d7d6a6400b7f92cfbe43057 Mon Sep 17 00:00:00 2001 From: Barry Harris <44396066+barry65536@users.noreply.github.com> Date: Fri, 8 May 2015 11:39:03 +0000 Subject: [PATCH] Killer Instinct support (disabled by default as it isn't going to work with earlier GCC) - enable in makefile to use --- makefile | 3 +++ makefile.burn_rules | 13 +++++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index fb8468957..fbcfe358b 100644 --- a/makefile +++ b/makefile @@ -36,6 +36,9 @@ INCLUDE_7Z_SUPPORT = 1 # Include Toaplan sound sample hacks for games without MCU dumps TOAPLAN_SOUND_SAMPLES_HACK = 1 +# Include Killer Instinct driver (and associated files) - requires C++11 support +#INCLUDE_KILLER_INSTINCT = 1 + # Include symbols and other debug information in the executable #SYMBOL = 1 diff --git a/makefile.burn_rules b/makefile.burn_rules index 5598d6785..25060d090 100644 --- a/makefile.burn_rules +++ b/makefile.burn_rules @@ -76,6 +76,10 @@ drvobj = d_dodonpachi.o d_donpachi.o d_esprade.o d_feversos.o d_gaia.o d_guwang d_coleco.o \ \ d_sg1000.o + +ifdef INCLUDE_KILLER_INSTINCT + drvobj += d_kinst.o +endif depobj := $(drvobj) \ \ @@ -134,9 +138,14 @@ depobj := $(drvobj) \ snes_65816.o snes_io.o snes_main.o snes_ppu.o snes_spc700.o ifdef DEBUG -depobj += m68kdasm.o + depobj += m68kdasm.o endif ifdef BUILD_X86_ASM -autobj += burn_sound_a.o + autobj += burn_sound_a.o +endif + +ifdef INCLUDE_KILLER_INSTINCT + alldir += burn/drv/midway cpu/adsp2100 cpu/mips3 cpu/mips3/x64 + depobj += dcs2k.o ide.o adsp2100.o cop0.o cop1.o mips3.o adsp2100_intf.o mips3_intf.o endif \ No newline at end of file