diff options
| author | gibbed <rick@gibbed.us> | 2018-12-15 22:56:36 -0600 |
|---|---|---|
| committer | gibbed <rick@gibbed.us> | 2018-12-15 22:56:36 -0600 |
| commit | 85b714f2af5b9f793e05682d8397268ca600b0cd (patch) | |
| tree | f91146b5a1b51cfa2291c4c24a1963dbfa6bbc0a | |
| parent | a90e3c79621430be5120d6bad805660d697fff61 (diff) | |
[Base] Make --win32_high_freq=false actually work.
| -rw-r--r-- | src/xenia/base/main_win.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xenia/base/main_win.cc b/src/xenia/base/main_win.cc index b8047d280..024a76d3c 100644 --- a/src/xenia/base/main_win.cc +++ b/src/xenia/base/main_win.cc @@ -85,11 +85,6 @@ static void RequestHighPerformance() { int Main() { auto entry_info = xe::GetEntryInfo(); - // Request high performance timing. - if (FLAGS_win32_high_freq) { - RequestHighPerformance(); - } - // Convert command line to an argv-like format so we can share code/use // gflags. auto command_line = GetCommandLineW(); @@ -136,6 +131,11 @@ int Main() { XELOGI("Build: %s / %s on %s", XE_BUILD_BRANCH, XE_BUILD_COMMIT, XE_BUILD_DATE); + // Request high performance timing. + if (FLAGS_win32_high_freq) { + RequestHighPerformance(); + } + // Call app-provided entry point. int result = entry_info.entry_point(args); |
