mirror of
https://github.com/lindbergh-loader/lindbergh-loader.git
synced 2026-09-29 18:28:04 +03:00
VF5-REVC
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
CC=gcc -m32
|
||||
CFLAGS = -g -O0 -fPIC -m32 -D_GNU_SOURCE -Wall -Werror -Wno-unused-variable -Wno-unused-function
|
||||
CFLAGS = -g -O0 -fPIC -m32 -Wall -Werror -Wno-unused-variable -Wno-unused-function
|
||||
LD = g++ -m32
|
||||
LDFLAGS = -Wl,-z,defs -rdynamic -static-libstdc++ -static-libgcc -lc -ldl -lGL -lglut -lX11 -lm -lpthread -shared -nostdlib
|
||||
|
||||
|
||||
Executable
BIN
Binary file not shown.
Binary file not shown.
@@ -109,6 +109,12 @@ static int detectGame(uint32_t elf_crc)
|
||||
config.game = VT3;
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (elf_crc == 0x1bf1b627)
|
||||
{
|
||||
config.game = VF5_REVC;
|
||||
return 0;
|
||||
}
|
||||
|
||||
config.game = UNKNOWN;
|
||||
return 1;
|
||||
@@ -141,6 +147,8 @@ char *getGameName()
|
||||
return "R-Tuned Ultimate Street Racing";
|
||||
case VT3:
|
||||
return "Virtua Tennis 3";
|
||||
case VF5_REVC:
|
||||
return "Virtua Fighter 5 - RevC";
|
||||
default:
|
||||
return "Unknown Game";
|
||||
}
|
||||
|
||||
@@ -17,7 +17,8 @@ typedef enum
|
||||
ABC_2007,
|
||||
SRTV,
|
||||
RTUNED,
|
||||
VT3
|
||||
VT3,
|
||||
VF5_REVC
|
||||
} Game;
|
||||
|
||||
typedef enum
|
||||
|
||||
@@ -180,6 +180,13 @@ int initPatch()
|
||||
setVariable(0x08072195, cpu_vendor.ecx);
|
||||
}
|
||||
break;
|
||||
case VF5_REVC:
|
||||
{
|
||||
detourFunction(0x085c6010, amDongleInit);
|
||||
detourFunction(0x085c63cc, amDongleIsAvailable);
|
||||
detourFunction(0x085c62f0, amDongleUpdate);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
// Don't do any patches for random games
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user