From de1ef273b3e8e5b0de2cc080f00e45424af0e120 Mon Sep 17 00:00:00 2001 From: Godkratos Date: Mon, 18 May 2020 01:01:40 +1200 Subject: [PATCH] Clang formatting --- src/yuzu/main.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index c10f77d2fe..355a6e5e05 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -137,22 +137,22 @@ __declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1; namespace { - QString GetAccountUsername() { - Service::Account::ProfileManager manager; - const auto current_user = manager.GetUser(Settings::values.current_user); - ASSERT(current_user); - Service::Account::ProfileBase profile; - if (!manager.GetProfileBase(*current_user, profile)) { - return {}; - } - - const auto text = Common::StringFromFixedZeroTerminatedBuffer( - reinterpret_cast(profile.username.data()), profile.username.size()); - return QString::fromStdString(text); +QString GetAccountUsername() { + Service::Account::ProfileManager manager; + const auto current_user = manager.GetUser(Settings::values.current_user); + ASSERT(current_user); + Service::Account::ProfileBase profile; + if (!manager.GetProfileBase(*current_user, profile)) { + return {}; } + const auto text = Common::StringFromFixedZeroTerminatedBuffer( + reinterpret_cast(profile.username.data()), profile.username.size()); + return QString::fromStdString(text); } +} // Anonymous namespace + constexpr int default_mouse_timeout = 2500; constexpr u64 DLC_BASE_TITLE_ID_MASK = 0xFFFFFFFFFFFFE000;