Gameboy: remove M12 from M161 mapper designation

M161 is used as mapper, M12 is just a PCB revision.

M01 PCB uses a discrete ROM IC
M12 PCB uses a glob top COB ROM

Signed-off-by: Tauwasser <tauwasser@tauwasser.eu>
This commit is contained in:
Tauwasser 2016-05-24 12:37:18 +02:00
parent 6d69c89500
commit 765f625779
5 changed files with 7 additions and 7 deletions

View File

@ -11923,7 +11923,7 @@
<publisher>Mani</publisher> <publisher>Mani</publisher>
<info name="serial" value="DMG-601-CHN"/> <info name="serial" value="DMG-601-CHN"/>
<part name="cart" interface="gameboy_cart"> <part name="cart" interface="gameboy_cart">
<feature name="slot" value="rom_m161_m12" /> <feature name="slot" value="rom_m161" />
<dataarea name="rom" size="262144"> <dataarea name="rom" size="262144">
<rom name="dmg-601-chn.bin" size="262144" crc="0c38a775" sha1="dfe46e066c599c17e684ddda3fd74c5357910630" offset="0" /> <rom name="dmg-601-chn.bin" size="262144" crc="0c38a775" sha1="dfe46e066c599c17e684ddda3fd74c5357910630" offset="0" />
</dataarea> </dataarea>

View File

@ -209,7 +209,7 @@ static const gb_slot slot_list[] =
{ GB_MBC_MBC7, "rom_mbc7" }, { GB_MBC_MBC7, "rom_mbc7" },
{ GB_MBC_TAMA5, "rom_tama5" }, { GB_MBC_TAMA5, "rom_tama5" },
{ GB_MBC_MMM01, "rom_mmm01" }, { GB_MBC_MMM01, "rom_mmm01" },
{ GB_MBC_M161, "rom_m161_m12" }, { GB_MBC_M161, "rom_m161" },
{ GB_MBC_MBC3, "rom_huc1" }, // for now treat this as alias for MBC3 { GB_MBC_MBC3, "rom_huc1" }, // for now treat this as alias for MBC3
{ GB_MBC_MBC3, "rom_huc3" }, // for now treat this as alias for MBC3 { GB_MBC_MBC3, "rom_huc3" }, // for now treat this as alias for MBC3
{ GB_MBC_SACHEN1, "rom_sachen1" }, { GB_MBC_SACHEN1, "rom_sachen1" },

View File

@ -24,7 +24,7 @@ const device_type GB_ROM_MBC3 = &device_creator<gb_rom_mbc3_device>;
const device_type GB_ROM_MBC5 = &device_creator<gb_rom_mbc5_device>; const device_type GB_ROM_MBC5 = &device_creator<gb_rom_mbc5_device>;
const device_type GB_ROM_MBC6 = &device_creator<gb_rom_mbc6_device>; const device_type GB_ROM_MBC6 = &device_creator<gb_rom_mbc6_device>;
const device_type GB_ROM_MBC7 = &device_creator<gb_rom_mbc7_device>; const device_type GB_ROM_MBC7 = &device_creator<gb_rom_mbc7_device>;
const device_type GB_ROM_M161_M12 = &device_creator<gb_rom_m161_device>; const device_type GB_ROM_M161 = &device_creator<gb_rom_m161_device>;
const device_type GB_ROM_MMM01 = &device_creator<gb_rom_mmm01_device>; const device_type GB_ROM_MMM01 = &device_creator<gb_rom_mmm01_device>;
const device_type GB_ROM_SACHEN1 = &device_creator<gb_rom_sachen_mmc1_device>; const device_type GB_ROM_SACHEN1 = &device_creator<gb_rom_sachen_mmc1_device>;
const device_type GB_ROM_SACHEN2 = &device_creator<gb_rom_sachen_mmc2_device>; const device_type GB_ROM_SACHEN2 = &device_creator<gb_rom_sachen_mmc2_device>;
@ -88,7 +88,7 @@ gb_rom_mbc7_device::gb_rom_mbc7_device(const machine_config &mconfig, const char
} }
gb_rom_m161_device::gb_rom_m161_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) gb_rom_m161_device::gb_rom_m161_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: gb_rom_mbc_device(mconfig, GB_ROM_M161_M12, "GB M161-M12 Carts", tag, owner, clock, "gb_rom_m161m12", __FILE__), m_base_bank(0) : gb_rom_mbc_device(mconfig, GB_ROM_M161, "GB M161 Carts", tag, owner, clock, "gb_rom_m161", __FILE__), m_base_bank(0)
{ {
} }
@ -664,7 +664,7 @@ WRITE8_MEMBER(gb_rom_mbc7_device::write_ram)
} }
// M161-M12 // M161
READ8_MEMBER(gb_rom_m161_device::read_rom) READ8_MEMBER(gb_rom_m161_device::read_rom)
{ {

View File

@ -378,7 +378,7 @@ extern const device_type GB_ROM_MBC4;
extern const device_type GB_ROM_MBC5; extern const device_type GB_ROM_MBC5;
extern const device_type GB_ROM_MBC6; extern const device_type GB_ROM_MBC6;
extern const device_type GB_ROM_MBC7; extern const device_type GB_ROM_MBC7;
extern const device_type GB_ROM_M161_M12; extern const device_type GB_ROM_M161;
extern const device_type GB_ROM_MMM01; extern const device_type GB_ROM_MMM01;
extern const device_type GB_ROM_SACHEN1; extern const device_type GB_ROM_SACHEN1;
extern const device_type GB_ROM_SACHEN2; extern const device_type GB_ROM_SACHEN2;

View File

@ -650,7 +650,7 @@ static SLOT_INTERFACE_START(gb_cart)
SLOT_INTERFACE_INTERNAL("rom_mbc7", GB_ROM_MBC7) SLOT_INTERFACE_INTERNAL("rom_mbc7", GB_ROM_MBC7)
SLOT_INTERFACE_INTERNAL("rom_tama5", GB_ROM_TAMA5) SLOT_INTERFACE_INTERNAL("rom_tama5", GB_ROM_TAMA5)
SLOT_INTERFACE_INTERNAL("rom_mmm01", GB_ROM_MMM01) SLOT_INTERFACE_INTERNAL("rom_mmm01", GB_ROM_MMM01)
SLOT_INTERFACE_INTERNAL("rom_m161_m12",GB_ROM_M161_M12) SLOT_INTERFACE_INTERNAL("rom_m161", GB_ROM_M161)
SLOT_INTERFACE_INTERNAL("rom_sachen1", GB_ROM_SACHEN1) SLOT_INTERFACE_INTERNAL("rom_sachen1", GB_ROM_SACHEN1)
SLOT_INTERFACE_INTERNAL("rom_sachen2", GB_ROM_SACHEN2) SLOT_INTERFACE_INTERNAL("rom_sachen2", GB_ROM_SACHEN2)
SLOT_INTERFACE_INTERNAL("rom_wisdom", GB_ROM_WISDOM) SLOT_INTERFACE_INTERNAL("rom_wisdom", GB_ROM_WISDOM)