Applied clang-format
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user