From 6e05b76b6a1889e4bab809a5f31042121276692f Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 27 Jan 2018 20:03:13 +0200 Subject: [PATCH] add a header fixup --- Makefile | 1 + pico/carthw.cfg | 5 +++++ pico/carthw_cfg.c | 3 +++ 3 files changed, 9 insertions(+) diff --git a/Makefile b/Makefile index 2620a704..78fa5386 100644 --- a/Makefile +++ b/Makefile @@ -236,4 +236,5 @@ cpu/sh2/compiler.o : cpu/drc/emit_x86.c cpu/sh2/mame/sh2pico.o : cpu/sh2/mame/sh2.c pico/pico.o pico/cd/mcd.o pico/32x/32x.o : pico/pico_cmn.c pico/pico_int.h pico/memory.o pico/cd/memory.o pico/32x/memory.o : pico/pico_int.h pico/memory.h +# pico/cart.o : pico/carthw_cfg.c cpu/fame/famec.o: cpu/fame/famec.c cpu/fame/famec_opcodes.h diff --git a/pico/carthw.cfg b/pico/carthw.cfg index 20742e0e..c0ad6bce 100644 --- a/pico/carthw.cfg +++ b/pico/carthw.cfg @@ -63,6 +63,11 @@ prop = filled_sram check_str = 0x150, "MICRO MACHINES II" prop = filled_sram +# bad headers +[HardBall III] +check_str = 0x150, " HardBall III" +sram_range = 0x200000,0x20ffff + # X-Men proto [X-Men (prototype)] check_str = 0x150, "32X SAMPLE PROGRAM" diff --git a/pico/carthw_cfg.c b/pico/carthw_cfg.c index 2fdd1991..2ce6d29f 100644 --- a/pico/carthw_cfg.c +++ b/pico/carthw_cfg.c @@ -24,6 +24,9 @@ static const char builtin_carthw_cfg[] = "check_str=0x150,\"MICRO MACHINES II\"\n" "prop=filled_sram\n" "[]\n" + "check_str=0x150,\" HardBall III\"\n" + "sram_range=0x200000,0x20ffff\n" + "[]\n" "check_str=0x150,\"32X SAMPLE PROGRAM\"\n" "check_str=0x32b74c,\"Bishop Level\"\n" "prop=force_6btn\n" -- 2.39.5