From 40d22a8e7610b2fdde5cfe6178605262ef0d61d7 Mon Sep 17 00:00:00 2001 From: notaz Date: Mon, 25 Sep 2017 23:41:34 +0300 Subject: [PATCH] recognize the MED ssf2 header --- Makefile | 3 +++ pico/carthw.cfg | 4 ++++ pico/carthw_cfg.c | 5 ++++- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8a95d992..45e3532b 100644 --- a/Makefile +++ b/Makefile @@ -221,6 +221,9 @@ ifndef DEBUG cpu/fame/famec.o: CFLAGS += -g0 -O2 -fno-expensive-optimizations endif +pico/carthw_cfg.c: pico/carthw.cfg + tools/make_carthw_c $< $@ + # random deps pico/carthw/svp/compiler.o : cpu/drc/emit_$(ARCH).c cpu/sh2/compiler.o : cpu/drc/emit_$(ARCH).c diff --git a/pico/carthw.cfg b/pico/carthw.cfg index 72d4a9a1..20742e0e 100644 --- a/pico/carthw.cfg +++ b/pico/carthw.cfg @@ -70,6 +70,10 @@ check_str = 0x32b74c, "Bishop Level" prop = force_6btn # The SSF2 mapper +[Mega Everdrive] +check_str = 0x100, "SEGA SSF" +hw = ssf2_mapper + [Super Street Fighter II - The New Challengers (U)] check_str = 0x150, "SUPER STREET FIGHTER2 The New Challengers" hw = ssf2_mapper diff --git a/pico/carthw_cfg.c b/pico/carthw_cfg.c index 91ddec74..2fdd1991 100644 --- a/pico/carthw_cfg.c +++ b/pico/carthw_cfg.c @@ -1,4 +1,4 @@ -/* generated by ./tools/make_carthw_c, do not modify */ +/* generated by tools/make_carthw_c, do not modify */ static const char builtin_carthw_cfg[] = "[]\n" "check_str=0x150,\"Virtua Racing\"\n" @@ -28,6 +28,9 @@ static const char builtin_carthw_cfg[] = "check_str=0x32b74c,\"Bishop Level\"\n" "prop=force_6btn\n" "[]\n" + "check_str=0x100,\"SEGA SSF\"\n" + "hw=ssf2_mapper\n" + "[]\n" "check_str=0x150,\"SUPER STREET FIGHTER2 The New Challengers\"\n" "hw=ssf2_mapper\n" "prop=no_sram\n" -- 2.39.5