ssriders: add hiscores

This commit is contained in:
barbudreadmon 2020-06-22 08:34:17 +02:00 committed by GitHub
parent 20dd35bbac
commit ddf4ceaf97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2524,7 +2524,7 @@ static INT32 DrvDoReset()
PlayTitleSample = 0; PlayTitleSample = 0;
TitleSamplePos = 0; TitleSamplePos = 0;
PriorityFlag = 0; PriorityFlag = 0;
return 0; return 0;
} }
@ -2659,6 +2659,8 @@ static INT32 SsridersDoReset()
dim_c = 0; dim_c = 0;
dim_v = 0; dim_v = 0;
HiscoreReset();
return 0; return 0;
} }
@ -6734,7 +6736,7 @@ struct BurnDriver BurnDrvSsriders = {
"ssriders", NULL, NULL, NULL, "1991", "ssriders", NULL, NULL, NULL, "1991",
"Sunset Riders (4 Players ver. EAC)\0", NULL, "Konami", "GX064", "Sunset Riders (4 Players ver. EAC)\0", NULL, "Konami", "GX064",
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
BDF_GAME_WORKING, 4, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0, BDF_GAME_WORKING | BDF_HISCORE_SUPPORTED, 4, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0,
NULL, SsridersRomInfo, SsridersRomName, NULL, NULL, NULL, NULL, Ssriders4pInputInfo, NULL, NULL, SsridersRomInfo, SsridersRomName, NULL, NULL, NULL, NULL, Ssriders4pInputInfo, NULL,
SsridersInit, BlswhstlExit, SsridersFrame, BlswhstlDraw, SsridersScan, SsridersInit, BlswhstlExit, SsridersFrame, BlswhstlDraw, SsridersScan,
NULL, 0x810, 288, 224, 4, 3 NULL, 0x810, 288, 224, 4, 3
@ -6744,7 +6746,7 @@ struct BurnDriver BurnDrvSsridersebd = {
"ssridersebd", "ssriders", NULL, NULL, "1991", "ssridersebd", "ssriders", NULL, NULL, "1991",
"Sunset Riders (2 Players ver. EBD)\0", NULL, "Konami", "GX064", "Sunset Riders (2 Players ver. EBD)\0", NULL, "Konami", "GX064",
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE, 2, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0, BDF_GAME_WORKING | BDF_CLONE | BDF_HISCORE_SUPPORTED, 2, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0,
NULL, SsridersebdRomInfo, SsridersebdRomName, NULL, NULL, NULL, NULL, SsridersInputInfo, NULL, NULL, SsridersebdRomInfo, SsridersebdRomName, NULL, NULL, NULL, NULL, SsridersInputInfo, NULL,
SsridersInit, BlswhstlExit, SsridersFrame, BlswhstlDraw, SsridersScan, SsridersInit, BlswhstlExit, SsridersFrame, BlswhstlDraw, SsridersScan,
NULL, 0x810, 288, 224, 4, 3 NULL, 0x810, 288, 224, 4, 3
@ -6754,7 +6756,7 @@ struct BurnDriver BurnDrvSsridersebc = {
"ssridersebc", "ssriders", NULL, NULL, "1991", "ssridersebc", "ssriders", NULL, NULL, "1991",
"Sunset Riders (2 Players ver. EBC)\0", NULL, "Konami", "GX064", "Sunset Riders (2 Players ver. EBC)\0", NULL, "Konami", "GX064",
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE, 2, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0, BDF_GAME_WORKING | BDF_CLONE | BDF_HISCORE_SUPPORTED, 2, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0,
NULL, SsridersebcRomInfo, SsridersebcRomName, NULL, NULL, NULL, NULL, SsridersInputInfo, NULL, NULL, SsridersebcRomInfo, SsridersebcRomName, NULL, NULL, NULL, NULL, SsridersInputInfo, NULL,
SsridersInit, BlswhstlExit, SsridersFrame, BlswhstlDraw, SsridersScan, SsridersInit, BlswhstlExit, SsridersFrame, BlswhstlDraw, SsridersScan,
NULL, 0x810, 288, 224, 4, 3 NULL, 0x810, 288, 224, 4, 3
@ -6764,7 +6766,7 @@ struct BurnDriver BurnDrvSsridersuda = {
"ssridersuda", "ssriders", NULL, NULL, "1991", "ssridersuda", "ssriders", NULL, NULL, "1991",
"Sunset Riders (4 Players ver. UDA)\0", NULL, "Konami", "GX064", "Sunset Riders (4 Players ver. UDA)\0", NULL, "Konami", "GX064",
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE, 4, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0, BDF_GAME_WORKING | BDF_CLONE | BDF_HISCORE_SUPPORTED, 4, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0,
NULL, SsridersudaRomInfo, SsridersudaRomName, NULL, NULL, NULL, NULL, Ssriders4psInputInfo, NULL, NULL, SsridersudaRomInfo, SsridersudaRomName, NULL, NULL, NULL, NULL, Ssriders4psInputInfo, NULL,
SsridersInit, BlswhstlExit, SsridersFrame, BlswhstlDraw, SsridersScan, SsridersInit, BlswhstlExit, SsridersFrame, BlswhstlDraw, SsridersScan,
NULL, 0x810, 288, 224, 4, 3 NULL, 0x810, 288, 224, 4, 3
@ -6774,7 +6776,7 @@ struct BurnDriver BurnDrvSsriderseaa = {
"ssriderseaa", "ssriders", NULL, NULL, "1991", "ssriderseaa", "ssriders", NULL, NULL, "1991",
"Sunset Riders (4 Players ver. EAA)\0", NULL, "Konami", "GX064", "Sunset Riders (4 Players ver. EAA)\0", NULL, "Konami", "GX064",
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE, 4, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0, BDF_GAME_WORKING | BDF_CLONE | BDF_HISCORE_SUPPORTED, 4, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0,
NULL, SsriderseaaRomInfo, SsriderseaaRomName, NULL, NULL, NULL, NULL, Ssriders4psInputInfo, NULL, NULL, SsriderseaaRomInfo, SsriderseaaRomName, NULL, NULL, NULL, NULL, Ssriders4psInputInfo, NULL,
SsridersInit, BlswhstlExit, SsridersFrame, BlswhstlDraw, SsridersScan, SsridersInit, BlswhstlExit, SsridersFrame, BlswhstlDraw, SsridersScan,
NULL, 0x810, 288, 224, 4, 3 NULL, 0x810, 288, 224, 4, 3
@ -6784,7 +6786,7 @@ struct BurnDriver BurnDrvSsridersuab = {
"ssridersuab", "ssriders", NULL, NULL, "1991", "ssridersuab", "ssriders", NULL, NULL, "1991",
"Sunset Riders (4 Players ver. UAB)\0", NULL, "Konami", "GX064", "Sunset Riders (4 Players ver. UAB)\0", NULL, "Konami", "GX064",
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE, 4, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0, BDF_GAME_WORKING | BDF_CLONE | BDF_HISCORE_SUPPORTED, 4, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0,
NULL, SsridersuabRomInfo, SsridersuabRomName, NULL, NULL, NULL, NULL, Ssriders4pInputInfo, NULL, NULL, SsridersuabRomInfo, SsridersuabRomName, NULL, NULL, NULL, NULL, Ssriders4pInputInfo, NULL,
SsridersInit, BlswhstlExit, SsridersFrame, BlswhstlDraw, SsridersScan, SsridersInit, BlswhstlExit, SsridersFrame, BlswhstlDraw, SsridersScan,
NULL, 0x810, 288, 224, 4, 3 NULL, 0x810, 288, 224, 4, 3
@ -6794,7 +6796,7 @@ struct BurnDriver BurnDrvSsridersuac = {
"ssridersuac", "ssriders", NULL, NULL, "1991", "ssridersuac", "ssriders", NULL, NULL, "1991",
"Sunset Riders (4 Players ver. UAC)\0", NULL, "Konami", "GX064", "Sunset Riders (4 Players ver. UAC)\0", NULL, "Konami", "GX064",
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE, 4, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0, BDF_GAME_WORKING | BDF_CLONE | BDF_HISCORE_SUPPORTED, 4, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0,
NULL, SsridersuacRomInfo, SsridersuacRomName, NULL, NULL, NULL, NULL, Ssriders4pInputInfo, NULL, NULL, SsridersuacRomInfo, SsridersuacRomName, NULL, NULL, NULL, NULL, Ssriders4pInputInfo, NULL,
SsridersInit, BlswhstlExit, SsridersFrame, BlswhstlDraw, SsridersScan, SsridersInit, BlswhstlExit, SsridersFrame, BlswhstlDraw, SsridersScan,
NULL, 0x810, 288, 224, 4, 3 NULL, 0x810, 288, 224, 4, 3
@ -6804,7 +6806,7 @@ struct BurnDriver BurnDrvSsridersubc = {
"ssridersubc", "ssriders", NULL, NULL, "1991", "ssridersubc", "ssriders", NULL, NULL, "1991",
"Sunset Riders (2 Players ver. UBC)\0", NULL, "Konami", "GX064", "Sunset Riders (2 Players ver. UBC)\0", NULL, "Konami", "GX064",
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE, 2, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0, BDF_GAME_WORKING | BDF_CLONE | BDF_HISCORE_SUPPORTED, 2, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0,
NULL, SsridersubcRomInfo, SsridersubcRomName, NULL, NULL, NULL, NULL, SsridersInputInfo, NULL, NULL, SsridersubcRomInfo, SsridersubcRomName, NULL, NULL, NULL, NULL, SsridersInputInfo, NULL,
SsridersInit, BlswhstlExit, SsridersFrame, BlswhstlDraw, SsridersScan, SsridersInit, BlswhstlExit, SsridersFrame, BlswhstlDraw, SsridersScan,
NULL, 0x810, 288, 224, 4, 3 NULL, 0x810, 288, 224, 4, 3
@ -6814,7 +6816,7 @@ struct BurnDriver BurnDrvSsridersabd = {
"ssridersabd", "ssriders", NULL, NULL, "1991", "ssridersabd", "ssriders", NULL, NULL, "1991",
"Sunset Riders (2 Players ver. ABD)\0", NULL, "Konami", "GX064", "Sunset Riders (2 Players ver. ABD)\0", NULL, "Konami", "GX064",
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE, 2, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0, BDF_GAME_WORKING | BDF_CLONE | BDF_HISCORE_SUPPORTED, 2, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0,
NULL, SsridersabdRomInfo, SsridersabdRomName, NULL, NULL, NULL, NULL, SsridersInputInfo, NULL, NULL, SsridersabdRomInfo, SsridersabdRomName, NULL, NULL, NULL, NULL, SsridersInputInfo, NULL,
SsridersInit, BlswhstlExit, SsridersFrame, BlswhstlDraw, SsridersScan, SsridersInit, BlswhstlExit, SsridersFrame, BlswhstlDraw, SsridersScan,
NULL, 0x810, 288, 224, 4, 3 NULL, 0x810, 288, 224, 4, 3
@ -6824,7 +6826,7 @@ struct BurnDriver BurnDrvSsridersadd = {
"ssridersadd", "ssriders", NULL, NULL, "1991", "ssridersadd", "ssriders", NULL, NULL, "1991",
"Sunset Riders (4 Players ver. ADD)\0", NULL, "Konami", "GX064", "Sunset Riders (4 Players ver. ADD)\0", NULL, "Konami", "GX064",
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE, 4, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0, BDF_GAME_WORKING | BDF_CLONE | BDF_HISCORE_SUPPORTED, 4, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0,
NULL, SsridersaddRomInfo, SsridersaddRomName, NULL, NULL, NULL, NULL, Ssriders4psInputInfo, NULL, NULL, SsridersaddRomInfo, SsridersaddRomName, NULL, NULL, NULL, NULL, Ssriders4psInputInfo, NULL,
SsridersInit, BlswhstlExit, SsridersFrame, BlswhstlDraw, SsridersScan, SsridersInit, BlswhstlExit, SsridersFrame, BlswhstlDraw, SsridersScan,
NULL, 0x810, 288, 224, 4, 3 NULL, 0x810, 288, 224, 4, 3
@ -6834,7 +6836,7 @@ struct BurnDriver BurnDrvSsridersjac = {
"ssridersjac", "ssriders", NULL, NULL, "1991", "ssridersjac", "ssriders", NULL, NULL, "1991",
"Sunset Riders (4 Players ver. JAC)\0", NULL, "Konami", "GX064", "Sunset Riders (4 Players ver. JAC)\0", NULL, "Konami", "GX064",
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE, 2, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0, BDF_GAME_WORKING | BDF_CLONE | BDF_HISCORE_SUPPORTED, 2, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0,
NULL, SsridersjacRomInfo, SsridersjacRomName, NULL, NULL, NULL, NULL, SsridersInputInfo, NULL, NULL, SsridersjacRomInfo, SsridersjacRomName, NULL, NULL, NULL, NULL, SsridersInputInfo, NULL,
SsridersInit, BlswhstlExit, SsridersFrame, BlswhstlDraw, SsridersScan, SsridersInit, BlswhstlExit, SsridersFrame, BlswhstlDraw, SsridersScan,
NULL, 0x810, 288, 224, 4, 3 NULL, 0x810, 288, 224, 4, 3
@ -6844,7 +6846,7 @@ struct BurnDriver BurnDrvSsridersjad = {
"ssridersjad", "ssriders", NULL, NULL, "1991", "ssridersjad", "ssriders", NULL, NULL, "1991",
"Sunset Riders (4 Players ver. JAD)\0", NULL, "Konami", "GX064", "Sunset Riders (4 Players ver. JAD)\0", NULL, "Konami", "GX064",
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE, 2, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0, BDF_GAME_WORKING | BDF_CLONE | BDF_HISCORE_SUPPORTED, 2, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0,
NULL, SsridersjadRomInfo, SsridersjadRomName, NULL, NULL, NULL, NULL, SsridersInputInfo, NULL, NULL, SsridersjadRomInfo, SsridersjadRomName, NULL, NULL, NULL, NULL, SsridersInputInfo, NULL,
SsridersInit, BlswhstlExit, SsridersFrame, BlswhstlDraw, SsridersScan, SsridersInit, BlswhstlExit, SsridersFrame, BlswhstlDraw, SsridersScan,
NULL, 0x810, 288, 224, 4, 3 NULL, 0x810, 288, 224, 4, 3
@ -6854,7 +6856,7 @@ struct BurnDriver BurnDrvSsridersjbd = {
"ssridersjbd", "ssriders", NULL, NULL, "1991", "ssridersjbd", "ssriders", NULL, NULL, "1991",
"Sunset Riders (2 Players ver. JBD)\0", NULL, "Konami", "GX064", "Sunset Riders (2 Players ver. JBD)\0", NULL, "Konami", "GX064",
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE, 2, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0, BDF_GAME_WORKING | BDF_CLONE | BDF_HISCORE_SUPPORTED, 2, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0,
NULL, SsridersjbdRomInfo, SsridersjbdRomName, NULL, NULL, NULL, NULL, SsridersInputInfo, NULL, NULL, SsridersjbdRomInfo, SsridersjbdRomName, NULL, NULL, NULL, NULL, SsridersInputInfo, NULL,
SsridersInit, BlswhstlExit, SsridersFrame, BlswhstlDraw, SsridersScan, SsridersInit, BlswhstlExit, SsridersFrame, BlswhstlDraw, SsridersScan,
NULL, 0x810, 288, 224, 4, 3 NULL, 0x810, 288, 224, 4, 3
@ -6869,7 +6871,7 @@ struct BurnDriverD BurnDrvSsridersb = {
"ssridersb", "ssriders", NULL, NULL, "1991", "ssridersb", "ssriders", NULL, NULL, "1991",
"Sunset Riders (bootleg 4 Players ver. ADD)\0", NULL, "Konami", "GX064", "Sunset Riders (bootleg 4 Players ver. ADD)\0", NULL, "Konami", "GX064",
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
BDF_CLONE | BDF_BOOTLEG, 2, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0, BDF_CLONE | BDF_BOOTLEG | BDF_HISCORE_SUPPORTED, 2, HARDWARE_KONAMI_68K_Z80, GBF_RUNGUN, 0,
NULL, ssridersbRomInfo, ssridersbRomName, NULL, NULL, NULL, NULL, Ssriders4psInputInfo, NULL, NULL, ssridersbRomInfo, ssridersbRomName, NULL, NULL, NULL, NULL, Ssriders4psInputInfo, NULL,
SsridersbInit, CommonExit, SsridersFrame, BlswhstlDraw, SsridersScan, SsridersbInit, CommonExit, SsridersFrame, BlswhstlDraw, SsridersScan,
NULL, 0x810, 288, 224, 4, 3 NULL, 0x810, 288, 224, 4, 3