Change kodb over to use fcrash sprites, mostly working now

This commit is contained in:
Barry Harris 2012-04-11 15:14:40 +00:00
parent 91bdf1f0ff
commit c8864202ae
2 changed files with 8 additions and 4 deletions

View File

@ -484,6 +484,8 @@ INT32 FcrashObjDraw(INT32 nLevelFrom,INT32 nLevelTo)
bx = 1;
by = 1;
y &= 0xff;
x -= 16;
y = 224 - y;

View File

@ -11390,6 +11390,8 @@ static INT32 KodbInit()
INT32 nRet = 0;
Kodb = 1;
Cps1ObjGetCallbackFunction = FcrashObjGet;
Cps1ObjDrawCallbackFunction = FcrashObjDraw;
nRet = DrvInit();
@ -12997,7 +12999,7 @@ struct BurnDriver BurnDrvCpsFfightjh = {
struct BurnDriver BurnDrvCpsFcrash = {
"fcrash", "ffight", NULL, NULL, "1990",
"Final Crash (bootleg)\0", "No sound", "Playmark", "CPS1",
"Final Crash (bootleg)\0", "No sound, some sprite priority issues", "Playmark", "CPS1",
NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE | BDF_BOOTLEG, 2, HARDWARE_CAPCOM_CPS1, GBF_SCRFIGHT, 0,
NULL, FcrashRomInfo, FcrashRomName, NULL, NULL, FfightInputInfo, FfightDIPInfo,
@ -13265,11 +13267,11 @@ struct BurnDriver BurnDrvCpsKodja = {
&CpsRecalcPal, 0x1000, 384, 224, 4, 3
};
struct BurnDriverD BurnDrvCpsKodb = {
struct BurnDriver BurnDrvCpsKodb = {
"kodb", "kod", NULL, NULL, "1991",
"The King of Dragons (bootleg set 1)\0", "No Sprites", "Capcom", "CPS1",
"The King of Dragons (bootleg set 1)\0", "Some sprite priority issues", "Capcom", "CPS1",
NULL, NULL, NULL, NULL,
BDF_CLONE | BDF_BOOTLEG, 3, HARDWARE_CAPCOM_CPS1, GBF_SCRFIGHT, 0,
BDF_GAME_WORKING | BDF_CLONE | BDF_BOOTLEG, 3, HARDWARE_CAPCOM_CPS1, GBF_SCRFIGHT, 0,
NULL, KodbRomInfo, KodbRomName, NULL, NULL, KodInputInfo, KodDIPInfo,
KodbInit, DrvExit, Cps1Frame, CpsRedraw, CpsAreaScan,
&CpsRecalcPal, 0x1000, 384, 224, 4, 3