Skip to content

Commit

Permalink
[Base] Make --win32_high_freq=false actually work.
Browse files Browse the repository at this point in the history
  • Loading branch information
gibbed committed Dec 16, 2018
1 parent a90e3c7 commit 85b714f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/xenia/base/main_win.cc
Expand Up @@ -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();
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 85b714f

Please sign in to comment.