summaryrefslogtreecommitdiff
path: root/src/core/core_timing.h
diff options
context:
space:
mode:
authorGravatar Levi2021-01-10 22:09:56 -0700
committerGravatar Levi2021-01-10 22:09:56 -0700
commit7a3c884e39fccfbb498b855080bffabc9ce2e7f1 (patch)
tree5056f9406dec188439cb0deb87603498243a9412 /src/core/core_timing.h
parentMore forgetting... duh (diff)
parentMerge pull request #5229 from Morph1984/fullscreen-opt (diff)
downloadyuzu-7a3c884e39fccfbb498b855080bffabc9ce2e7f1.tar.gz
yuzu-7a3c884e39fccfbb498b855080bffabc9ce2e7f1.tar.xz
yuzu-7a3c884e39fccfbb498b855080bffabc9ce2e7f1.zip
Merge remote-tracking branch 'upstream/master' into int-flags
Diffstat (limited to 'src/core/core_timing.h')
-rw-r--r--src/core/core_timing.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/core_timing.h b/src/core/core_timing.h
index b0b6036e4..77ff4c6fe 100644
--- a/src/core/core_timing.h
+++ b/src/core/core_timing.h
@@ -27,8 +27,8 @@ using TimedCallback =
27 27
28/// Contains the characteristics of a particular event. 28/// Contains the characteristics of a particular event.
29struct EventType { 29struct EventType {
30 EventType(TimedCallback&& callback, std::string&& name) 30 explicit EventType(TimedCallback&& callback_, std::string&& name_)
31 : callback{std::move(callback)}, name{std::move(name)} {} 31 : callback{std::move(callback_)}, name{std::move(name_)} {}
32 32
33 /// The event's callback function. 33 /// The event's callback function.
34 TimedCallback callback; 34 TimedCallback callback;
@@ -67,8 +67,8 @@ public:
67 void Shutdown(); 67 void Shutdown();
68 68
69 /// Sets if emulation is multicore or single core, must be set before Initialize 69 /// Sets if emulation is multicore or single core, must be set before Initialize
70 void SetMulticore(bool is_multicore) { 70 void SetMulticore(bool is_multicore_) {
71 this->is_multicore = is_multicore; 71 is_multicore = is_multicore_;
72 } 72 }
73 73
74 /// Check if it's using host timing. 74 /// Check if it's using host timing.