1
0
mirror of synced 2024-11-27 19:10:48 +01:00

Update lindbergh and add LGJ REVA

This commit is contained in:
Bobby Dilley 2024-01-03 00:25:50 +00:00
parent 4f9914e7e4
commit 3b36d783ef
4 changed files with 26 additions and 2 deletions

View File

@ -61,7 +61,8 @@ static int detectGame(uint32_t elf_crc)
return 0;
}
if(elf_crc == 0xDDECE1E9) {
if (elf_crc == 0xDDECE1E9)
{
config.game = THE_HOUSE_OF_THE_DEAD_4_STRIPPED_TEST;
config.gameStatus = WORKING;
return 0;
@ -262,6 +263,13 @@ static int detectGame(uint32_t elf_crc)
return 0;
}
if (elf_crc == 0xB6479554)
{
config.game = LETS_GO_JUNGLE_REVA;
config.gameStatus = NOT_WORKING;
return 0;
}
config.game = UNKNOWN;
return 1;
}
@ -299,6 +307,8 @@ char *getGameName()
return "Initial D Arcade Stage 4 EXP Rev E";
case INITIALD_5:
return "Initial D Arcade Stage 5";
case LETS_GO_JUNGLE_REVA:
return "Let's Go Jungle! Lost on the Island of Spice! Rev A";
case LETS_GO_JUNGLE:
return "Let's Go Jungle! Lost on the Island of Spice!";
case LETS_GO_JUNGLE_SPECIAL:

View File

@ -19,6 +19,7 @@ typedef enum
INITIALD_4_REVE,
INITIALD_5,
LETS_GO_JUNGLE,
LETS_GO_JUNGLE_REVA,
LETS_GO_JUNGLE_SPECIAL,
OUTRUN_2_SP_SDX,
OUTRUN_2_SP_SDX_REVA,

View File

@ -8,7 +8,7 @@
#define PRELOAD_FILE_NAME "lindbergh.so"
// List of all lindbergh executables known, not including the test executables
char *games[] = {"vsg", "Jennifer", "segaboot", "amiM.elf", "abc", "hod4M.elf", "lgj_final", "vt3", "id4.elf", "id5.elf", "lgjsp_app", "gsevo", "vf5", "apacheM.elf", "END"};
char *games[] = {"drive.elf", "chopperM.elf", "vsg", "Jennifer", "segaboot", "amiM.elf", "abc", "hod4M.elf", "lgj_final", "vt3", "id4.elf", "id5.elf", "lgjsp_app", "gsevo", "vf5", "apacheM.elf", "END"};
/**
* Tests if the game uses a seperate elf for test mode

View File

@ -549,6 +549,19 @@ int initPatch()
}
break;
case LETS_GO_JUNGLE_REVA:
{
// Security
detourFunction(0x084e9fbc, amDongleInit);
detourFunction(0x084ea378, amDongleIsAvailable);
detourFunction(0x084ea29c, amDongleUpdate);
// patchMemory(0x0807b76a, "9090"); // Patch initializeArcadeBackup
// Fixes
detourFunction(0x084e9ef2, amDipswGetData);
detourFunction(0x084e9f6a, stubRetZero); // Stub amDipswSetLed
// patchMemory(0x0840d858, "9090"); // No more Full Screen from the Game
}
case LETS_GO_JUNGLE:
{
if (config->showDebugMessages == 1)