Skip to content

Commit

Permalink
megadrive update from gab75
Browse files Browse the repository at this point in the history
  • Loading branch information
dinkc64 committed Sep 8, 2023
1 parent 559fe4a commit 8f5367a
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions src/burn/drv/megadrive/d_megadrive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1096,6 +1096,25 @@ struct BurnDriver BurnDrvmd_pstar2 = {
&bMegadriveRecalcPalette, 0x100, 320, 224, 4, 3
};

// Phantasy Star II Sound Engine Replacement (Hack)
// https://www.romhacking.net/hacks/8043/
static struct BurnRomInfo md_pstar2serRomDesc[] = {
{ "Phantasy Star II Sound Engine Replacement (2022)(wyatt8740).bin", 786432, 0x53018f1e, BRF_PRG | SEGA_MD_ROM_LOAD16_WORD_SWAP | SEGA_MD_ROM_OFFS_000000 },
};

STD_ROM_PICK(md_pstar2ser)
STD_ROM_FN(md_pstar2ser)

struct BurnDriver BurnDrvmd_pstar2ser = {
"md_pstar2ser", "md_pstar2", NULL, NULL, "2022",
"Phantasy Star II Sound Engine Replacement (Hack)\0", NULL, "wyatt8740", "Sega Megadrive",
NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_16BIT_ONLY | BDF_CLONE | BDF_HACK, 1, HARDWARE_SEGA_MEGADRIVE | HARDWARE_SEGA_MEGADRIVE_PCB_SEGA_SRAM, GBF_RPG, 0,
MegadriveGetZipName, md_pstar2serRomInfo, md_pstar2serRomName, NULL, NULL, NULL, NULL, MegadriveInputInfo, MegadriveDIPInfo,
MegadriveInit, MegadriveExit, MegadriveFrame, MegadriveDraw, MegadriveScan,
&bMegadriveRecalcPalette, 0x100, 320, 224, 4, 3
};

// Shining Force II (Euro)
static struct BurnRomInfo md_shinfrc2RomDesc[] = {
{ "mpr-16933.ic1", 0x200000, 0x83cb46d1, BRF_PRG | SEGA_MD_ROM_LOAD16_WORD_SWAP | SEGA_MD_ROM_OFFS_000000 },
Expand Down Expand Up @@ -14382,6 +14401,25 @@ struct BurnDriver BurnDrvmd_goldnaxep2 = {
&bMegadriveRecalcPalette, 0x100, 320, 224, 4, 3
};

// Golden Axe Plus (Hack, v2.0)
// https://www.romhacking.net/hacks/6949/
static struct BurnRomInfo md_goldnaxeplusRomDesc[] = {
{ "Golden Axe Plus v2.0 (2022)(YoSoyNacho).bin", 2097152, 0x18f13b66, BRF_PRG | SEGA_MD_ROM_LOAD16_WORD_SWAP | SEGA_MD_ROM_OFFS_000000 },
};

STD_ROM_PICK(md_goldnaxeplus)
STD_ROM_FN(md_goldnaxeplus)

struct BurnDriver BurnDrvmd_goldnaxeplus = {
"md_goldnaxeplus", "md_goldnaxe", NULL, NULL, "2022",
"Golden Axe Plus (Hack, v2.0)\0", NULL, "YoSoyNacho", "Sega Megadrive",
NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_16BIT_ONLY | BDF_CLONE | BDF_HACK, 2, HARDWARE_SEGA_MEGADRIVE, GBF_SCRFIGHT, 0,
MegadriveGetZipName, md_goldnaxeplusRomInfo, md_goldnaxeplusRomName, NULL, NULL, NULL, NULL, MegadriveInputInfo, MegadriveDIPInfo,
MegadriveInit, MegadriveExit, MegadriveFrame, MegadriveDraw, MegadriveScan,
&bMegadriveRecalcPalette, 0x100, 320, 224, 4, 3
};

// Golden Axe II (World)
static struct BurnRomInfo md_goldnax2RomDesc[] = {
{ "mpr-14272.bin", 0x080000, 0x725e0a18, BRF_PRG | SEGA_MD_ROM_LOAD16_WORD_SWAP | SEGA_MD_ROM_OFFS_000000 },
Expand Down

0 comments on commit 8f5367a

Please sign in to comment.