PGO: Turn on debugger when running PGO builds (~60% increase in performance when debugger opened)

This commit is contained in:
Sour 2018-03-03 10:42:45 -05:00
parent 024a0c1d3c
commit 2722e63251

View file

@ -41,6 +41,7 @@ extern "C" {
void __stdcall LoadROM(const char* filename, char* patchFile);
void __stdcall Run();
void __stdcall Stop();
void __stdcall DebugInitialize();
}
int main(int argc, char* argv[])
@ -93,6 +94,7 @@ int main(int argc, char* argv[])
std::cout << "Running: " << testRoms[i] << std::endl;
SetVideoFilter(filterTypes[i % 13]);
LoadROM(testRoms[i], "");
DebugInitialize();
}
std::this_thread::sleep_for(std::chrono::duration<int, std::milli>(5000));
Stop();