From 2722e6325135d67174748f2c3fe0b3851f1ff6d5 Mon Sep 17 00:00:00 2001 From: Sour Date: Sat, 3 Mar 2018 10:42:45 -0500 Subject: [PATCH] PGO: Turn on debugger when running PGO builds (~60% increase in performance when debugger opened) --- PGOHelper/PGOHelper.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PGOHelper/PGOHelper.cpp b/PGOHelper/PGOHelper.cpp index b1759c39..437eeaa8 100644 --- a/PGOHelper/PGOHelper.cpp +++ b/PGOHelper/PGOHelper.cpp @@ -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(5000)); Stop();