Fix rideboard
This commit is contained in:
parent
4b838d1bd8
commit
03ff0e6923
@ -183,7 +183,7 @@ void __attribute__((constructor)) hook_init()
|
|||||||
|
|
||||||
securityBoardSetDipResolution(getConfig()->width, getConfig()->height);
|
securityBoardSetDipResolution(getConfig()->width, getConfig()->height);
|
||||||
|
|
||||||
printf("Now starting %s", getGameName());
|
printf("Now starting \"%s\"", getGameName());
|
||||||
if (getConfig()->gameStatus == WORKING)
|
if (getConfig()->gameStatus == WORKING)
|
||||||
{
|
{
|
||||||
printf((", this game is working.\n"));
|
printf((", this game is working.\n"));
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#define PRELOAD_FILE_NAME "lindbergh.so"
|
#define PRELOAD_FILE_NAME "lindbergh.so"
|
||||||
|
|
||||||
// List of all lindbergh executables known, not including the test executables
|
// List of all lindbergh executables known, not including the test executables
|
||||||
char *games[] = {"segaboot", "amiM.elf", "abc", "hod4M.elf", "lgj_final", "vt3", "id4.elf", "id5.elf", "lgjsp_app", "gsevo", "vf5", "apacheM.elf", "END"};
|
char *games[] = {"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
|
* Tests if the game uses a seperate elf for test mode
|
||||||
|
@ -32,7 +32,7 @@ static void patchMemory(uint32_t address, char *value)
|
|||||||
{
|
{
|
||||||
|
|
||||||
size_t size = strlen((void *)value);
|
size_t size = strlen((void *)value);
|
||||||
printf("Size=%d\n", size);
|
// printf("Size=%d\n", size);
|
||||||
if (size % 2 != 0)
|
if (size % 2 != 0)
|
||||||
{
|
{
|
||||||
printf("Patch value should be even.\n");
|
printf("Patch value should be even.\n");
|
||||||
@ -433,9 +433,6 @@ int initPatch()
|
|||||||
setVariable(0x083cef1a, cpu_vendor.edx);
|
setVariable(0x083cef1a, cpu_vendor.edx);
|
||||||
setVariable(0x083cef25, cpu_vendor.ecx);
|
setVariable(0x083cef25, cpu_vendor.ecx);
|
||||||
}
|
}
|
||||||
// Workaroud
|
|
||||||
if (remove("/var/tmp/atr_init") == 1)
|
|
||||||
printf("atr_init deleted.\n");
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case THE_HOUSE_OF_THE_DEAD_4_SPECIAL_TEST:
|
case THE_HOUSE_OF_THE_DEAD_4_SPECIAL_TEST:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user