PGO: Turn on debugger when running PGO builds (~60% increase in performance when debugger opened)
This commit is contained in:
parent
024a0c1d3c
commit
2722e63251
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue