recognize the MED ssf2 header
authornotaz <notasas@gmail.com>
Mon, 25 Sep 2017 20:41:34 +0000 (23:41 +0300)
committernotaz <notasas@gmail.com>
Mon, 2 Oct 2017 21:40:37 +0000 (00:40 +0300)
Makefile
pico/carthw.cfg
pico/carthw_cfg.c

index 8a95d99..45e3532 100644 (file)
--- 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
index 72d4a9a..20742e0 100644 (file)
@@ -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
index 91ddec7..2fdd199 100644 (file)
@@ -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"