diff options
author | LC <mathew1800@gmail.com> | 2020-08-13 21:13:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-13 21:13:21 +0200 |
commit | ff0b14ee624c056d41cb020562f57af07c710a8b (patch) | |
tree | 6642ba786c7158933e3d1e2fb41a1aa1a6e30a63 /src/core/hle/service/nvflinger/nvflinger.h | |
parent | Merge pull request #4497 from lioncash/freezer-alg (diff) | |
parent | General: Tidy up clang-format warnings part 2 (diff) | |
download | yuzu-ff0b14ee624c056d41cb020562f57af07c710a8b.tar yuzu-ff0b14ee624c056d41cb020562f57af07c710a8b.tar.gz yuzu-ff0b14ee624c056d41cb020562f57af07c710a8b.tar.bz2 yuzu-ff0b14ee624c056d41cb020562f57af07c710a8b.tar.lz yuzu-ff0b14ee624c056d41cb020562f57af07c710a8b.tar.xz yuzu-ff0b14ee624c056d41cb020562f57af07c710a8b.tar.zst yuzu-ff0b14ee624c056d41cb020562f57af07c710a8b.zip |
Diffstat (limited to 'src/core/hle/service/nvflinger/nvflinger.h')
-rw-r--r-- | src/core/hle/service/nvflinger/nvflinger.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/core/hle/service/nvflinger/nvflinger.h b/src/core/hle/service/nvflinger/nvflinger.h index ff85cbba6..1ebe949c0 100644 --- a/src/core/hle/service/nvflinger/nvflinger.h +++ b/src/core/hle/service/nvflinger/nvflinger.h @@ -86,11 +86,13 @@ public: [[nodiscard]] s64 GetNextTicks() const; - [[nodiscard]] std::unique_lock<std::mutex> Lock() const { return std::unique_lock{*guard}; } + [[nodiscard]] std::unique_lock<std::mutex> Lock() const { + return std::unique_lock{*guard}; + } - private : - /// Finds the display identified by the specified ID. - [[nodiscard]] VI::Display* FindDisplay(u64 display_id); +private: + /// Finds the display identified by the specified ID. + [[nodiscard]] VI::Display* FindDisplay(u64 display_id); /// Finds the display identified by the specified ID. [[nodiscard]] const VI::Display* FindDisplay(u64 display_id) const; |