Merge pull request #388 from LukeUsher/fix-hle-cache-renderstate

Temporarily disabled HLE Caching
This commit is contained in:
Luke Usher 2017-04-21 06:47:15 +01:00 committed by GitHub
commit 574d1f89cd
1 changed files with 8 additions and 5 deletions

View File

@ -83,7 +83,9 @@ void EmuHLEIntercept(Xbe::Header *pXbeHeader)
sstream << szFolder_CxbxReloadedData << "\\HLECache\\" << std::hex << uiHash << ".ini";
std::string filename = sstream.str();
if (PathFileExists(filename.c_str())) {
// TODO: Fix HLE Cache
// if (PathFileExists(filename.c_str())) {
if (false) {
printf("Found HLE Cache File: %08X.ini\n", uiHash);
// Verify the version of the cache file against the HLE Database
@ -445,10 +447,11 @@ void EmuHLEIntercept(Xbe::Header *pXbeHeader)
}
}
// If the HLE Cache was used, skip symbol maching/patching
if (g_HLECacheUsed) {
continue;
}
// TODO: Re-enable this after fixing render states
// uIf the HLE Cache was used, skip symbol maching/patching
//if (g_HLECacheUsed) {
//continue;
//}
printf("HLE: * Searching HLE database for %s version 1.0.%d... ", LibraryName.c_str(), BuildVersion);