// 2020 Super Baseball
static struct BurnRomInfo bb2020RomDesc[] = {
{"030-p1.bin" , 0x080000, 0xd396c9cb, 0x10}, // 0 68K code
{"030-s1.bin" , 0x020000, 0x7015b8fc, 1}, // 1 Text layer tiles
{"030-c1.bin" , 0x100000, 0x4f5e19bd, 1}, // 2 Sprite data
{"030-c2.bin" , 0x100000, 0xd6314bf0, 1}, // 3
{"030-c3.bin" , 0x100000, 0x47fddfee, 1}, // 4
{"030-c4.bin" , 0x100000, 0x780d1c4e, 1}, // 5
{"030-m1.bin" , 0x020000, 0x4cf466ec, 0x10}, // 6 Z80 code
{"030-v1.bin" , 0x100000, 0xd4ca364e, 2}, // 7 Sound data
{"030-v2.bin" , 0x100000, 0x54994455, 2}, // 8
};
STDROMPICKEXT(bb2020, bb2020, neogeo);
STD_ROM_FN(bb2020);
struct BurnDriver BurnDrvbb2020 = {
{"2020bb", "2020 Super Baseball", NULL, "SNK / Pallas", "Neo Geo", "1991", NULL, "neogeo"},
BDF_GAME_WORKING, 2, HARDWARE_SNK_NEOGEO | HARDWARE_SNK_SWAPC,
NULL, bb2020RomInfo, bb2020RomName, neogeoInputInfo, neogeoDIPInfo,
NeoInit, NeoExit, NeoFrame, NeoRender, NeoScan, &NeoRecalcPalette,
nNeoScreenWidth, 224, 4, 3
};
// 2020 Super Baseball (set 2)
static struct BurnRomInfo bba2020RomDesc[] = {
{"030-p1.bin" , 0x080000, 0xc59be3dd, 0x10}, // 0 68K code
{"030-s1.bin" , 0x020000, 0x7015b8fc, 1}, // 1 Text layer tiles
{"030-c1.bin" , 0x100000, 0x4f5e19bd, 1}, // 2 Sprite data
{"030-c2.bin" , 0x100000, 0xd6314bf0, 1}, // 3
{"030-c3.bin" , 0x100000, 0x47fddfee, 1}, // 4
{"030-c4.bin" , 0x100000, 0x780d1c4e, 1}, // 5
{"030-m1.bin" , 0x020000, 0x4cf466ec, 0x10}, // 6 Z80 code
{"030-v1.bin" , 0x100000, 0xd4ca364e, 2}, // 7 Sound data
{"030-v2.bin" , 0x100000, 0x54994455, 2}, // 8
};
STDROMPICKEXT(bba2020, bba2020, neogeo);
STD_ROM_FN(bba2020);
struct BurnDriver BurnDrvbba2020 = {
{"2020bba", "2020 Super Baseball", "Set 2", "SNK / Pallas", "Neo Geo", "1991", "2020bb", "neogeo"},
BDF_GAME_WORKING | BDF_CLONE, 2, HARDWARE_SNK_NEOGEO | HARDWARE_SNK_SWAPC,
NULL, bba2020RomInfo, bba2020RomName, neogeoInputInfo, neogeoDIPInfo,
NeoInit, NeoExit, NeoFrame, NeoRender, NeoScan, &NeoRecalcPalette,
nNeoScreenWidth, 224, 4, 3
};
// 2020 Super Baseball (set 3)
static struct BurnRomInfo bbh2020RomDesc[] = {
{"030-p1h.bin" , 0x080000, 0x12d048d7, 0x10}, // 0 68K code
{"030-s1.bin" , 0x020000, 0x7015b8fc, 1}, // 1 Text layer tiles
{"030-c1.bin" , 0x100000, 0x4f5e19bd, 1}, // 2 Sprite data
{"030-c2.bin" , 0x100000, 0xd6314bf0, 1}, // 3
{"030-c3.bin" , 0x100000, 0x47fddfee, 1}, // 4
{"030-c4.bin" , 0x100000, 0x780d1c4e, 1}, // 5
{"030-m1.bin" , 0x020000, 0x4cf466ec, 0x10}, // 6 Z80 code
{"030-v1.bin" , 0x100000, 0xd4ca364e, 2}, // 7 Sound data
{"030-v2.bin" , 0x100000, 0x54994455, 2}, // 8
};
STDROMPICKEXT(bbh2020, bbh2020, neogeo);
STD_ROM_FN(bbh2020);
struct BurnDriver BurnDrvbbh2020 = {
{"2020bbh", "2020 Super Baseball", "Set 3", "SNK / Pallas", "Neo Geo", "1991", "2020bb", "neogeo"},
BDF_GAME_WORKING | BDF_CLONE, 2, HARDWARE_SNK_NEOGEO | HARDWARE_SNK_SWAPC,
NULL, bbh2020RomInfo, bbh2020RomName, neogeoInputInfo, neogeoDIPInfo,
NeoInit, NeoExit, NeoFrame, NeoRender, NeoScan, &NeoRecalcPalette,
nNeoScreenWidth, 224, 4, 3
};
I updated my drivers somes weeks ago, and this one works great, and compiles fine....
ps : in your driver, even if there is something else wrong that prevents FBA to compile fine, you forgot to set the name of the parent for set 2 and 3.....
You set alternate 2 and 3 as clones, but if you don't write the parent, it will crash FBA
{"2020bba", "2020 Super Baseball (set 2)", NULL, "SNK Corporation of America/Pallas", "Neo Geo", "1991", "2020bb", "neogeo"},
{"2020bbh", "2020 Super Baseball (set 3)", NULL, "SNK Corporation of America/Pallas", "Neo Geo", "1991", "2020bb", "neogeo"},
ps bis : maybe the company name needs to be shorten than x characters
I remember the first time I tried to change (or add) some drivers, there must be a special ending for d_neogeo.cpp file, like an empty line, or something like that......Do you use an old non-updated driver in order to copy/paste the new drivers, or did you rewrite it from nothing ?