mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Bump sigcache version to 2.8 and rename methods
Bump version and rename CSigCache::LoadCache to CSigCache::ReacCache.
This commit is contained in:
parent
9c4fb57fa7
commit
967aa0dfd4
@ -402,7 +402,7 @@ void DetourInit() // Run the sigscan
|
||||
bool bInitDivider = false;
|
||||
|
||||
g_SigCache.SetDisabled(bNoSmap);
|
||||
g_SigCache.LoadCache(SIGDB_FILE);
|
||||
g_SigCache.ReadCache(SIGDB_FILE);
|
||||
|
||||
// No debug logging in non dev builds.
|
||||
const bool bDevMode = !IsCert() && !IsRetail();
|
||||
|
@ -7,7 +7,7 @@
|
||||
#define SIGDB_DICT_SIZE 20
|
||||
|
||||
#define SIGDB_MAJOR_VERSION 0x2 // Increment when library changes are made.
|
||||
#define SIGDB_MINOR_VERSION 0x7 // Increment when SDK updates are released.
|
||||
#define SIGDB_MINOR_VERSION 0x8 // Increment when SDK updates are released.
|
||||
|
||||
class CSigCache
|
||||
{
|
||||
@ -23,7 +23,7 @@ public:
|
||||
void AddEntry(const char* szPattern, const uint64_t nRVA);
|
||||
bool FindEntry(const char* szPattern, uint64_t& nRVA);
|
||||
|
||||
bool LoadCache(const char* szCacheFile);
|
||||
bool ReadCache(const char* szCacheFile);
|
||||
bool WriteCache(const char* szCacheFile) const;
|
||||
|
||||
private:
|
||||
|
@ -83,7 +83,7 @@ bool CSigCache::FindEntry(const char* szPattern, uint64_t& nRVA)
|
||||
// Purpose: loads the cache map from the disk
|
||||
// Output : true on success, false otherwise
|
||||
//-----------------------------------------------------------------------------
|
||||
bool CSigCache::LoadCache(const char* szCacheFile)
|
||||
bool CSigCache::ReadCache(const char* szCacheFile)
|
||||
{
|
||||
Assert(!m_bInitialized); // Recursive load.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user