- 精华
- 0
- 帖子
- 111
- 威望
- 0 点
- 积分
- 112 点
- 种子
- 0 点
- 注册时间
- 2009-8-25
- 最后登录
- 2019-1-2
|
发表于 2011-4-23 23:48 · 台湾
|
显示全部楼层
有个方法可以查出FBA4PSP是否支持个别游戏。FBA4PSP的源代码里,"burn"文件夹里所有以"d_"开头的文件就是所有游戏的driver,以rtypeleo为例,里面有一段:
struct BurnDriverD BurnDrvRtypeleo = {
"rtypeleo", NULL, NULL, "1992",
"R-Type Leo (World)\0", "Preliminary driver", "Irem", "Miscellaneous",
NULL, NULL, NULL, NULL,
BDF_16BIT_ONLY, 2, HARDWARE_MISC_POST90S,
NULL, rtypeleoRomInfo, rtypeleoRomName, inthuntInputInfo, inthuntDIPInfo,
rtypeleoInit, rtypeleoExit, rtypeleoFrame, NULL, DrvScan, 0, NULL, NULL, NULL, &bRecalcPalette,
320, 240, 4, 3
};
从连续四个NULL后面的第一个字串,如果里面没有"BDF_GAME_WORKING",就代表FBA4PSP不支持,因为若没有这个字串,FBA4PSP绝不会把游戏载入。也不是自己加上去,本来不支持的游戏就会变成可以玩,顶多是游戏会被载入,但结果还是不能玩,或是死机。
如果是可以玩的的游戏,driver就会是这样:
struct BurnDriverD BurnDrvNbbatman = {
"nbbatman", NULL, NULL, "1993",
"Ninjia Baseball Batman (US)\0", "Preliminary driver", "Irem America", "Miscellaneous",
NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE | BDF_16BIT_ONLY, 4, HARDWARE_MISC_POST90S,
NULL, nbbatmanRomInfo, nbbatmanRomName, hookInputInfo, hookDIPInfo,
nbbatmanInit, hookExit, nbbatmanFrame, NULL, DrvScan, 0, NULL, NULL, NULL, &bRecalcPalette,
320, 240, 4, 3
};
|
|