But when I move it to mame 222, something is different:
these codes work fine on mame 175:
but on mame 222, "machine.system().rom" is "tiny_rom_entry", I need "rom_entry" to patch the ips, so I copy some code from other mame src, like thisrom_load_manager::rom_load_manager(running_machine &machine)
........
// reset the disk list
m_chd_list.clear();
//ips code
if (patchname && *patchname)
{
if (!open_ips_entry(machine, patchname, machine.system().rom))
{
display_rom_load_results(false);
// return;
}
}
// process the ROM entries we were passed
process_region_list();
........
everything is right, building is right, patching is right, log is right, but nothing happen to the game, no ips worked(see the attachments)...if (!open_ips_entry(machine, patchname, &(rom_build_entries(machine.system().rom)[0])))
why??? I need help...
thanks...