mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Make 3 versions of SigCache files
The 3 versions are now: - cfg/server/startup.bin - cfg/client/startup.bin - cfg/startup.bin The last one is used by the GameSDK. Bumped header version to 6.
This commit is contained in:
parent
319b534d62
commit
e7a4a6f161
@ -384,6 +384,14 @@ void CheckCPU() // Respawn's engine and our SDK utilize POPCNT, SSE3 and SSSE3 (
|
||||
}
|
||||
}
|
||||
|
||||
#if defined (DEDICATED)
|
||||
#define SIGDB_FILE "cfg/server/startup.bin"
|
||||
#elif defined (CLIENT_DLL)
|
||||
#define SIGDB_FILE "cfg/client/startup.bin"
|
||||
#else
|
||||
#define SIGDB_FILE "cfg/startup.bin"
|
||||
#endif
|
||||
|
||||
void DetourInit() // Run the sigscan
|
||||
{
|
||||
const bool bLogAdr = CommandLine()->CheckParm("-sig_toconsole") ? true : false;
|
||||
|
@ -7,13 +7,7 @@
|
||||
#define SIGDB_DICT_SIZE 20
|
||||
|
||||
#define SIGDB_MAJOR_VERSION 0x2 // Increment when library changes are made.
|
||||
#define SIGDB_MINOR_VERSION 0x5 // Increment when SDK updates are released.
|
||||
|
||||
#ifdef DEDICATED
|
||||
#define SIGDB_FILE "cfg/server/startup.bin"
|
||||
#else
|
||||
#define SIGDB_FILE "cfg/client/startup.bin"
|
||||
#endif
|
||||
#define SIGDB_MINOR_VERSION 0x6 // Increment when SDK updates are released.
|
||||
|
||||
class CSigCache
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user