summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-08-23 02:24:25 +0200
committerLioncash <mathew1800@gmail.com>2020-08-23 02:26:48 +0200
commit25cd5d9ddac522a53619b7f6cb3a329a4c2003dd (patch)
treefb88ac3ca68e91be524141169b4e5e076849cbfa /src/core
parentcore_timing: Resolve sign conversion warning (diff)
downloadyuzu-25cd5d9ddac522a53619b7f6cb3a329a4c2003dd.tar
yuzu-25cd5d9ddac522a53619b7f6cb3a329a4c2003dd.tar.gz
yuzu-25cd5d9ddac522a53619b7f6cb3a329a4c2003dd.tar.bz2
yuzu-25cd5d9ddac522a53619b7f6cb3a329a4c2003dd.tar.lz
yuzu-25cd5d9ddac522a53619b7f6cb3a329a4c2003dd.tar.xz
yuzu-25cd5d9ddac522a53619b7f6cb3a329a4c2003dd.tar.zst
yuzu-25cd5d9ddac522a53619b7f6cb3a329a4c2003dd.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core_timing.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/core_timing.cpp b/src/core/core_timing.cpp
index d987a2cfc..86a01342d 100644
--- a/src/core/core_timing.cpp
+++ b/src/core/core_timing.cpp
@@ -37,10 +37,8 @@ struct CoreTiming::Event {
}
};
-CoreTiming::CoreTiming() {
- clock =
- Common::CreateBestMatchingClock(Core::Hardware::BASE_CLOCK_RATE, Core::Hardware::CNTFREQ);
-}
+CoreTiming::CoreTiming()
+ : clock{Common::CreateBestMatchingClock(Hardware::BASE_CLOCK_RATE, Hardware::CNTFREQ)} {}
CoreTiming::~CoreTiming() = default;