diff options
author | Lioncash <mathew1800@gmail.com> | 2019-02-05 21:55:15 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-02-05 21:55:18 +0100 |
commit | 3c02cdcc5700a1a7b576f95767b2c48892967189 (patch) | |
tree | a8113a8282ccda86500372b7c83fb889f4157761 /src/core/hle/service/nvflinger | |
parent | Merge pull request #2081 from ReinUsesLisp/lmem-64 (diff) | |
download | yuzu-3c02cdcc5700a1a7b576f95767b2c48892967189.tar yuzu-3c02cdcc5700a1a7b576f95767b2c48892967189.tar.gz yuzu-3c02cdcc5700a1a7b576f95767b2c48892967189.tar.bz2 yuzu-3c02cdcc5700a1a7b576f95767b2c48892967189.tar.lz yuzu-3c02cdcc5700a1a7b576f95767b2c48892967189.tar.xz yuzu-3c02cdcc5700a1a7b576f95767b2c48892967189.tar.zst yuzu-3c02cdcc5700a1a7b576f95767b2c48892967189.zip |
Diffstat (limited to 'src/core/hle/service/nvflinger')
-rw-r--r-- | src/core/hle/service/nvflinger/nvflinger.cpp | 2 | ||||
-rw-r--r-- | src/core/hle/service/nvflinger/nvflinger.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/nvflinger/nvflinger.cpp b/src/core/hle/service/nvflinger/nvflinger.cpp index 8dfc0df03..e15080b3b 100644 --- a/src/core/hle/service/nvflinger/nvflinger.cpp +++ b/src/core/hle/service/nvflinger/nvflinger.cpp @@ -78,7 +78,7 @@ u32 NVFlinger::FindBufferQueueId(u64 display_id, u64 layer_id) const { return layer.buffer_queue->GetId(); } -Kernel::SharedPtr<Kernel::ReadableEvent> NVFlinger::GetVsyncEvent(u64 display_id) { +Kernel::SharedPtr<Kernel::ReadableEvent> NVFlinger::FindVsyncEvent(u64 display_id) { return FindDisplay(display_id).vsync_event.readable; } diff --git a/src/core/hle/service/nvflinger/nvflinger.h b/src/core/hle/service/nvflinger/nvflinger.h index 83e974ed3..984be68a7 100644 --- a/src/core/hle/service/nvflinger/nvflinger.h +++ b/src/core/hle/service/nvflinger/nvflinger.h @@ -67,7 +67,7 @@ public: u32 FindBufferQueueId(u64 display_id, u64 layer_id) const; /// Gets the vsync event for the specified display. - Kernel::SharedPtr<Kernel::ReadableEvent> GetVsyncEvent(u64 display_id); + Kernel::SharedPtr<Kernel::ReadableEvent> FindVsyncEvent(u64 display_id); /// Obtains a buffer queue identified by the ID. std::shared_ptr<BufferQueue> FindBufferQueue(u32 id) const; |