(MESS) megadriv.c: removed pokemon protection patch, given that the routine is the same as kof99. no whatsnew.

This commit is contained in:
Fabio Priuli 2013-02-11 12:03:48 +00:00
parent 49b0cfb930
commit eba5498d6a
5 changed files with 3 additions and 22 deletions

View file

@ -16663,7 +16663,7 @@ Notice that these are not working on real hardware due to bugged code with VDP i
<year>199?</year>
<publisher>&lt;unlicensed&gt;</publisher>
<part name="cart" interface="megadriv_cart">
<feature name="slot" value="rom_poke" />
<feature name="slot" value="rom_kof99" />
<dataarea name="rom" size="2097152">
<rom name="pocket monsters (unl).bin" size="2097152" crc="f68f6367" sha1="d10de935e099c520384c986b1f00fd5e72d64e03" offset="000000" loadflag="load16_word_swap" />
</dataarea>

View file

@ -347,7 +347,6 @@ static SLOT_INTERFACE_START(md_cart)
SLOT_INTERFACE_INTERNAL("rom_topf", MD_ROM_TOPF)
// these have protection patched out, instead of emulated!
SLOT_INTERFACE_INTERNAL("rom_mulan", MD_STD_ROM)
SLOT_INTERFACE_INTERNAL("rom_poke", MD_STD_ROM)
SLOT_INTERFACE_INTERNAL("rom_poke2", MD_STD_ROM)
SLOT_INTERFACE_END
@ -1043,6 +1042,8 @@ INPUT_PORTS_END
static SLOT_INTERFACE_START(pico_cart)
SLOT_INTERFACE_INTERNAL("rom", MD_STD_ROM)
SLOT_INTERFACE_INTERNAL("rom_sram", MD_ROM_SRAM) // not sure these are needed...
SLOT_INTERFACE_INTERNAL("rom_sramsafe", MD_ROM_SRAM) // not sure these are needed...
SLOT_INTERFACE_END
static MACHINE_START(pico)

View file

@ -50,7 +50,6 @@ const device_type MD_ROM_RADICA = &device_creator<md_rom_radica_device>;
// below ones are currently unused, because the protection is patched out
const device_type MD_ROM_MULAN = &device_creator<md_std_rom_device>;
const device_type MD_ROM_POKE = &device_creator<md_std_rom_device>;
const device_type MD_ROM_POKE2 = &device_creator<md_std_rom_device>;

View file

@ -492,7 +492,6 @@ extern const device_type MD_ROM_RADICA;
// this are currently unused... protection is directly patched out!
extern const device_type MD_ROM_MULAN;
extern const device_type MD_ROM_POKE;
extern const device_type MD_ROM_POKE2;
#endif

View file

@ -271,7 +271,6 @@ static const md_slot slot_list[] =
{ MC_PIRATE, "rom_mcpir" },
{ MJLOVER, "rom_mjlov" },
{ MULAN, "rom_mulan"},
{ POKEMON, "rom_poke"},
{ POKEMON2, "rom_poke2"},
{ REALTEC, "rom_realtec" },
{ REDCL_EN, "rom_redcl" },
@ -566,23 +565,6 @@ void base_md_cart_slot_device::setup_custom_mappers()
break;
// patch out protection in a bunch of titles...
case POKEMON:
/*todo: emulate protection instead
0dd19e:47f8
0dd1a0:fff0
0dd1a2:4e63
0dd46e:4ef8
0dd470:0300
0dd49c:6002
*/
/* you need to return 1 @ 0xa13002 and 0???1f @ 0xa1303e (it does word reads). */
ROM16[0x0dd19e/2] = 0x47f8;
ROM16[0x0dd1a0/2] = 0xfff0;
ROM16[0x0dd1a2/2] = 0x4e63;
ROM16[0x0dd46e/2] = 0x4ef8;
ROM16[0x0dd470/2] = 0x0300;
ROM16[0x0dd49c/2] = 0x6002;
break;
case POKEMON2:
/*todo: emulate protection instead
006036:e000