浏览代码

add a header fixup

notaz 6 年之前
父节点
当前提交
6e05b76b6a
共有 3 个文件被更改,包括 9 次插入0 次删除
  1. 1 0
      Makefile
  2. 5 0
      pico/carthw.cfg
  3. 3 0
      pico/carthw_cfg.c

+ 1 - 0
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

+ 5 - 0
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"

+ 3 - 0
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"