summaryrefslogtreecommitdiffstats
path: root/src/core/host_timing.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-02-10 16:20:40 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-06-18 22:29:18 +0200
commite3524d114246a9221c766bdf1992777b208cbd67 (patch)
tree1454fe38bdafd94ada74ae5f1209a7466bbf4e78 /src/core/host_timing.cpp
parentCommon: Implement WallClock Interface and implement a native clock for x64 (diff)
downloadyuzu-e3524d114246a9221c766bdf1992777b208cbd67.tar
yuzu-e3524d114246a9221c766bdf1992777b208cbd67.tar.gz
yuzu-e3524d114246a9221c766bdf1992777b208cbd67.tar.bz2
yuzu-e3524d114246a9221c766bdf1992777b208cbd67.tar.lz
yuzu-e3524d114246a9221c766bdf1992777b208cbd67.tar.xz
yuzu-e3524d114246a9221c766bdf1992777b208cbd67.tar.zst
yuzu-e3524d114246a9221c766bdf1992777b208cbd67.zip
Diffstat (limited to '')
-rw-r--r--src/core/host_timing.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/host_timing.cpp b/src/core/host_timing.cpp
index ef9977b76..4ccf7c6c1 100644
--- a/src/core/host_timing.cpp
+++ b/src/core/host_timing.cpp
@@ -36,8 +36,7 @@ struct CoreTiming::Event {
};
CoreTiming::CoreTiming() {
- Common::WallClock* wall = Common::CreateBestMatchingClock(Core::Timing::BASE_CLOCK_RATE, Core::Timing::CNTFREQ);
- clock = std::unique_ptr<Common::WallClock>(wall);
+ clock = Common::CreateBestMatchingClock(Core::Timing::BASE_CLOCK_RATE, Core::Timing::CNTFREQ);
}
CoreTiming::~CoreTiming() = default;