1
0
mirror of synced 2024-11-15 01:57:36 +01:00

Added patches for Sega Race Tv, R-Tunned and ABC.

This commit is contained in:
dkeruza 2023-11-11 16:22:31 -05:00 committed by GitHub
parent fdd590a2f8
commit 8cec0997d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,29 @@ int initPatch()
switch (game)
{
case RTUNED:
{
detourFunction(0x08366846, amDongleInit);
detourFunction(0x08365301, amDongleIsAvailable);
detourFunction(0x08365cf7, amDongleUpdate);
}
break;
case SRTV:
{
detourFunction(0x084d5b40, amDongleInit);
detourFunction(0x084d45f9, amDongleIsAvailable);
detourFunction(0x084d4fef, amDongleUpdate);
}
break;
case ABC:
{
detourFunction(0x081e3424, amDongleInit);
detourFunction(0x081e3772, amDongleIsAvailable);
detourFunction(0x081e369e, amDongleUpdate);
}
break;
case OUTRUN:
{
setVariable(0x0893a24c, 2); // amBackupDebugLevel
@ -119,4 +141,4 @@ int initPatch()
}
return 0;
}
}