From 15bb7aca8f694e891b54f93c6031335dfb1a7270 Mon Sep 17 00:00:00 2001 From: techmetx11 <114311037+techmetx11@users.noreply.github.com> Date: Sat, 10 Aug 2024 18:44:21 +0000 Subject: [PATCH] Add support for Shi San Zhang Ma Jiang: Zhong Guo Mei Nv Pian copy protection (#570) * Add support for Shi San Zhang Ma Jiang: Zhong Guo Mei Nv Pian copy protection * Move the entry closer to the Taiwanese unlicensed games that have the same mapper, and use the most similar set of values/address to the other games with the same mapper --- core/cart_hw/md_cart.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/cart_hw/md_cart.c b/core/cart_hw/md_cart.c index a5fdb0f..766289d 100644 --- a/core/cart_hw/md_cart.c +++ b/core/cart_hw/md_cart.c @@ -224,7 +224,8 @@ static const md_entry_t rom_database[] = {0x0000,0x19ff,0x40,0x40,{{0x63,0x98,0xc9,0x18},{0xffffff,0xffffff,0xffffff,0xffffff},{0x400000,0x400002,0x400004,0x400006},0,0,NULL,m68k_unused_8_w,default_regs_r,NULL}}, /* Soul Blade */ {0x0000,0x0c5b,0x40,0x40,{{0x63,0x98,0xc9,0xf0},{0xffffff,0xffffff,0xffffff,0xffffff},{0x400000,0x400002,0x400004,0x400006},0,0,NULL,m68k_unused_8_w,default_regs_r,NULL}}, - +/* Shi San Zhang Ma Jiang: Zhong Guo Mei Nv Pian (only $400004 is checked, other addresses/values are assumed) */ + {0xffff,0xd41d,0x40,0x40,{{0x63,0x98,0xc9,0xf0},{0xffffff,0xffffff,0xffffff,0xffffff},{0x400000,0x400002,0x400004,0x400006},0,0,NULL,m68k_unused_8_w,default_regs_r,NULL}}, /* King of Fighter 98 */ {0x0000,0xd0a0,0x48,0x4f,{{0x00,0x00,0xaa,0xf0},{0xffffff,0xffffff,0xfc0000,0xfc0000},{0x000000,0x000000,0x480000,0x4c0000},0,0,NULL,m68k_unused_8_w,default_regs_r,NULL}},