From 9afebeb14ac90fdc5335708b6365baf17759136a Mon Sep 17 00:00:00 2001 From: barbudreadmon Date: Sat, 28 Nov 2020 18:29:14 +0100 Subject: [PATCH] megadrive: more cleanup --- src/burn/drv/megadrive/d_megadrive.cpp | 42 ++++++++------------------ 1 file changed, 12 insertions(+), 30 deletions(-) diff --git a/src/burn/drv/megadrive/d_megadrive.cpp b/src/burn/drv/megadrive/d_megadrive.cpp index 28a8dd8ae..a5812f398 100644 --- a/src/burn/drv/megadrive/d_megadrive.cpp +++ b/src/burn/drv/megadrive/d_megadrive.cpp @@ -48741,7 +48741,7 @@ struct BurnDriver Burnmd_Baoxiao = { "md_baoxiao", NULL, NULL, NULL, "199?", "Bao Xiao San Guo\0", NULL, "Unlicensed", "Sega Megadrive", NULL, NULL, NULL, NULL, - BDF_GAME_WORKING | BDF_16BIT_ONLY, 1, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0, + BDF_GAME_WORKING | BDF_16BIT_ONLY, 2, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0, MegadriveGetZipName, md_BaoxiaoRomInfo, md_BaoxiaoRomName, NULL, NULL, NULL, NULL, MegadriveInputInfo, MegadriveDIPInfo, MegadriveInit, MegadriveExit, MegadriveFrame, MegadriveDraw, MegadriveScan, &bMegadriveRecalcPalette, 0x100, 320, 224, 4, 3 @@ -48759,7 +48759,7 @@ struct BurnDriver Burnmd_Chaojimah = { "md_chaojimah", NULL, NULL, NULL, "199?", "Chao Ji Mahjong Club\0", NULL, "Unlicensed", "Sega Megadrive", NULL, NULL, NULL, NULL, - BDF_GAME_WORKING | BDF_16BIT_ONLY, 1, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0, + BDF_GAME_WORKING | BDF_16BIT_ONLY, 2, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0, MegadriveGetZipName, md_ChaojimahRomInfo, md_ChaojimahRomName, NULL, NULL, NULL, NULL, MegadriveInputInfo, MegadriveDIPInfo, MegadriveInit, MegadriveExit, MegadriveFrame, MegadriveDraw, MegadriveScan, &bMegadriveRecalcPalette, 0x100, 320, 224, 4, 3 @@ -48777,7 +48777,7 @@ struct BurnDriver Burnmd_Chaojipok = { "md_chaojipok", NULL, NULL, NULL, "199?", "Chao Ji Poker\0", NULL, "Unlicensed", "Sega Megadrive", NULL, NULL, NULL, NULL, - BDF_GAME_WORKING | BDF_16BIT_ONLY, 1, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0, + BDF_GAME_WORKING | BDF_16BIT_ONLY, 2, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0, MegadriveGetZipName, md_ChaojipokRomInfo, md_ChaojipokRomName, NULL, NULL, NULL, NULL, MegadriveInputInfo, MegadriveDIPInfo, MegadriveInit, MegadriveExit, MegadriveFrame, MegadriveDraw, MegadriveScan, &bMegadriveRecalcPalette, 0x100, 320, 224, 4, 3 @@ -48795,7 +48795,7 @@ struct BurnDriver Burnmd_Dballfinal = { "md_dballfinal", NULL, NULL, NULL, "199?", "Dragon Ball - Final Bout\0", NULL, "Unlicensed", "Sega Megadrive", NULL, NULL, NULL, NULL, - BDF_GAME_WORKING | BDF_16BIT_ONLY, 1, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0, + BDF_GAME_WORKING | BDF_16BIT_ONLY, 2, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0, MegadriveGetZipName, md_DballfinalRomInfo, md_DballfinalRomName, NULL, NULL, NULL, NULL, MegadriveInputInfo, MegadriveDIPInfo, MegadriveInit, MegadriveExit, MegadriveFrame, MegadriveDraw, MegadriveScan, &bMegadriveRecalcPalette, 0x100, 320, 224, 4, 3 @@ -48813,7 +48813,7 @@ struct BurnDriver Burnmd_Dushenzhi = { "md_dushenzhi", NULL, NULL, NULL, "199?", "Du Shen Zhi Meng Huan Poker\0", NULL, "Unlicensed", "Sega Megadrive", NULL, NULL, NULL, NULL, - BDF_GAME_WORKING | BDF_16BIT_ONLY, 1, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0, + BDF_GAME_WORKING | BDF_16BIT_ONLY, 2, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0, MegadriveGetZipName, md_DushenzhiRomInfo, md_DushenzhiRomName, NULL, NULL, NULL, NULL, MegadriveInputInfo, MegadriveDIPInfo, MegadriveInit, MegadriveExit, MegadriveFrame, MegadriveDraw, MegadriveScan, &bMegadriveRecalcPalette, 0x100, 320, 224, 4, 3 @@ -48831,7 +48831,7 @@ struct BurnDriver Burnmd_Gun3in1 = { "md_gun3in1", NULL, NULL, NULL, "199?", "Gunfight 3 in 1\0", NULL, "Unlicensed", "Sega Megadrive", NULL, NULL, NULL, NULL, - BDF_GAME_WORKING | BDF_16BIT_ONLY, 1, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0, + BDF_GAME_WORKING | BDF_16BIT_ONLY, 2, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0, MegadriveGetZipName, md_Gun3in1RomInfo, md_Gun3in1RomName, NULL, NULL, NULL, NULL, MegadriveInputInfo, MegadriveDIPInfo, MegadriveInit, MegadriveExit, MegadriveFrame, MegadriveDraw, MegadriveScan, &bMegadriveRecalcPalette, 0x100, 320, 224, 4, 3 @@ -48849,30 +48849,12 @@ struct BurnDriver Burnmd_Magbubble = { "md_magbubble", NULL, NULL, NULL, "199?", "Magic Bubble\0", NULL, "Unlicensed", "Sega Megadrive", NULL, NULL, NULL, NULL, - BDF_GAME_WORKING | BDF_16BIT_ONLY, 1, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0, + BDF_GAME_WORKING | BDF_16BIT_ONLY, 2, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0, MegadriveGetZipName, md_MagbubbleRomInfo, md_MagbubbleRomName, NULL, NULL, NULL, NULL, MegadriveInputInfo, MegadriveDIPInfo, MegadriveInit, MegadriveExit, MegadriveFrame, MegadriveDraw, MegadriveScan, &bMegadriveRecalcPalette, 0x100, 320, 224, 4, 3 }; -// Mighty Morphin Power Rangers - The Fighting Edition -static struct BurnRomInfo md_MmprfeRomDesc[] = { - { "Mighty Morphin Power Rangers - The Fighting Edition.md", 2097152, 0x1046d696, BRF_PRG | SEGA_MD_ROM_LOAD16_WORD_SWAP | SEGA_MD_ROM_OFFS_000000 }, -}; - -STD_ROM_PICK(md_Mmprfe) -STD_ROM_FN(md_Mmprfe) - -struct BurnDriver Burnmd_Mmprfe = { - "md_mmprfe", NULL, NULL, NULL, "199?", - "Mighty Morphin Power Rangers - The Fighting Edition\0", NULL, "Unlicensed", "Sega Megadrive", - NULL, NULL, NULL, NULL, - BDF_GAME_WORKING | BDF_16BIT_ONLY, 1, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0, - MegadriveGetZipName, md_MmprfeRomInfo, md_MmprfeRomName, NULL, NULL, NULL, NULL, MegadriveInputInfo, MegadriveDIPInfo, - MegadriveInit, MegadriveExit, MegadriveFrame, MegadriveDraw, MegadriveScan, - &bMegadriveRecalcPalette, 0x100, 320, 224, 4, 3 -}; - // Samurai Spirits II static struct BurnRomInfo md_Samsho2RomDesc[] = { { "Samurai Spirits II.md", 2097152, 0x2942f180, BRF_PRG | SEGA_MD_ROM_LOAD16_WORD_SWAP | SEGA_MD_ROM_OFFS_000000 }, @@ -48885,7 +48867,7 @@ struct BurnDriver Burnmd_Samsho2 = { "md_samsho2", NULL, NULL, NULL, "199?", "Samurai Spirits II\0", NULL, "Unlicensed", "Sega Megadrive", NULL, NULL, NULL, NULL, - BDF_GAME_WORKING | BDF_16BIT_ONLY, 1, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0, + BDF_GAME_WORKING | BDF_16BIT_ONLY, 2, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0, MegadriveGetZipName, md_Samsho2RomInfo, md_Samsho2RomName, NULL, NULL, NULL, NULL, MegadriveInputInfo, MegadriveDIPInfo, MegadriveInit, MegadriveExit, MegadriveFrame, MegadriveDraw, MegadriveScan, &bMegadriveRecalcPalette, 0x100, 320, 224, 4, 3 @@ -48903,7 +48885,7 @@ struct BurnDriver Burnmd_Sanguoyan = { "md_sanguoyan", NULL, NULL, NULL, "199?", "San Guo Yan Yi - Huo Shao Chi Bi\0", NULL, "Unlicensed", "Sega Megadrive", NULL, NULL, NULL, NULL, - BDF_GAME_WORKING | BDF_16BIT_ONLY, 1, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0, + BDF_GAME_WORKING | BDF_16BIT_ONLY, 2, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0, MegadriveGetZipName, md_SanguoyanRomInfo, md_SanguoyanRomName, NULL, NULL, NULL, NULL, MegadriveInputInfo, MegadriveDIPInfo, MegadriveInit, MegadriveExit, MegadriveFrame, MegadriveDraw, MegadriveScan, &bMegadriveRecalcPalette, 0x100, 320, 224, 4, 3 @@ -48921,7 +48903,7 @@ struct BurnDriver Burnmd_Supertankwar = { "md_supertankwar", NULL, NULL, NULL, "199?", "Super Tank War\0", NULL, "Unlicensed", "Sega Megadrive", NULL, NULL, NULL, NULL, - BDF_GAME_WORKING | BDF_16BIT_ONLY, 1, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0, + BDF_GAME_WORKING | BDF_16BIT_ONLY, 2, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0, MegadriveGetZipName, md_SupertankwarRomInfo, md_SupertankwarRomName, NULL, NULL, NULL, NULL, MegadriveInputInfo, MegadriveDIPInfo, MegadriveInit, MegadriveExit, MegadriveFrame, MegadriveDraw, MegadriveScan, &bMegadriveRecalcPalette, 0x100, 320, 224, 4, 3 @@ -48939,7 +48921,7 @@ struct BurnDriver Burnmd_Tekkensp = { "md_tekkensp", NULL, NULL, NULL, "199?", "Tekken Special\0", NULL, "Unlicensed", "Sega Megadrive", NULL, NULL, NULL, NULL, - BDF_GAME_WORKING | BDF_16BIT_ONLY, 1, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0, + BDF_GAME_WORKING | BDF_16BIT_ONLY, 2, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0, MegadriveGetZipName, md_TekkenspRomInfo, md_TekkenspRomName, NULL, NULL, NULL, NULL, MegadriveInputInfo, MegadriveDIPInfo, MegadriveInit, MegadriveExit, MegadriveFrame, MegadriveDraw, MegadriveScan, &bMegadriveRecalcPalette, 0x100, 320, 224, 4, 3 @@ -48957,7 +48939,7 @@ struct BurnDriver Burnmd_Zhanqichess = { "md_zhanqichess", NULL, NULL, NULL, "199?", "Zhan Qi Chinese Battle Chess\0", NULL, "Unlicensed", "Sega Megadrive", NULL, NULL, NULL, NULL, - BDF_GAME_WORKING | BDF_16BIT_ONLY, 1, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0, + BDF_GAME_WORKING | BDF_16BIT_ONLY, 2, HARDWARE_SEGA_MEGADRIVE, GBF_MISC, 0, MegadriveGetZipName, md_ZhanqichessRomInfo, md_ZhanqichessRomName, NULL, NULL, NULL, NULL, MegadriveInputInfo, MegadriveDIPInfo, MegadriveInit, MegadriveExit, MegadriveFrame, MegadriveDraw, MegadriveScan, &bMegadriveRecalcPalette, 0x100, 320, 224, 4, 3