Applied clang-format

This commit is contained in:
spectranator
2024-05-13 23:11:32 +02:00
parent ffc907460f
commit 2184968eb4
6 changed files with 29 additions and 19 deletions

View File

@@ -14,8 +14,8 @@
#include "common/x64/cpu_wait.h"
#endif
#include "common/settings.h"
#include "common/microprofile.h"
#include "common/settings.h"
#include "core/core_timing.h"
#include "core/hardware_properties.h"
@@ -194,8 +194,9 @@ u64 CoreTiming::GetClockTicks() const {
if (Settings::values.sync_core_speed.GetValue()) {
const double ticks = static_cast<double>(fres);
const double speed_limit = static_cast<double>(Settings::values.speed_limit.GetValue())*0.01;
return static_cast<u64>(ticks/speed_limit);
const double speed_limit =
static_cast<double>(Settings::values.speed_limit.GetValue()) * 0.01;
return static_cast<u64>(ticks / speed_limit);
} else {
return fres;
}

View File

@@ -324,8 +324,8 @@ public:
{10, &IProfileCommon::GetImageSize, "GetImageSize"},
{11, &IProfileCommon::LoadImage, "LoadImage"},
{20, &IProfileCommon::GetImageSize, "GetLargeImageSize"}, // 18.0.0+
{21, &IProfileCommon::LoadImage, "LoadLargeImage"}, // 18.0.0+
{30, &IProfileCommon::Unknown, "GetImageId"} // 18.0.0+
{21, &IProfileCommon::LoadImage, "LoadLargeImage"}, // 18.0.0+
{30, &IProfileCommon::Unknown, "GetImageId"} // 18.0.0+
};
RegisterHandlers(functions);