diff options
| author | 2021-01-10 22:09:56 -0700 | |
|---|---|---|
| committer | 2021-01-10 22:09:56 -0700 | |
| commit | 7a3c884e39fccfbb498b855080bffabc9ce2e7f1 (patch) | |
| tree | 5056f9406dec188439cb0deb87603498243a9412 /src/core/core_timing.h | |
| parent | More forgetting... duh (diff) | |
| parent | Merge pull request #5229 from Morph1984/fullscreen-opt (diff) | |
| download | yuzu-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.h | 8 |
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. |
| 29 | struct EventType { | 29 | struct 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. |