diff --git a/src/core/init.cpp b/src/core/init.cpp index f8928046..87aa86bb 100644 --- a/src/core/init.cpp +++ b/src/core/init.cpp @@ -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(); diff --git a/src/public/tier0/sigcache.h b/src/public/tier0/sigcache.h index 61b31d14..c63caaa4 100644 --- a/src/public/tier0/sigcache.h +++ b/src/public/tier0/sigcache.h @@ -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: diff --git a/src/tier0/sigcache.cpp b/src/tier0/sigcache.cpp index 51dcda43..0f7704d0 100644 --- a/src/tier0/sigcache.cpp +++ b/src/tier0/sigcache.cpp @@ -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.