diff options
| author | 2019-02-05 15:55:15 -0500 | |
|---|---|---|
| committer | 2019-02-05 15:55:18 -0500 | |
| commit | 3c02cdcc5700a1a7b576f95767b2c48892967189 (patch) | |
| tree | a8113a8282ccda86500372b7c83fb889f4157761 /src | |
| parent | Merge pull request #2081 from ReinUsesLisp/lmem-64 (diff) | |
| download | yuzu-3c02cdcc5700a1a7b576f95767b2c48892967189.tar.gz yuzu-3c02cdcc5700a1a7b576f95767b2c48892967189.tar.xz yuzu-3c02cdcc5700a1a7b576f95767b2c48892967189.zip | |
service/nvflinger: Rename GetVsyncEvent() to FindVsyncEvent()
This was missed within #2075. Renames the member function to make it
consistent with the rest of the Find* functions.
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/nvflinger/nvflinger.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/service/nvflinger/nvflinger.h | 2 | ||||
| -rw-r--r-- | src/core/hle/service/vi/vi.cpp | 2 |
3 files changed, 3 insertions, 3 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 { | |||
| 78 | return layer.buffer_queue->GetId(); | 78 | return layer.buffer_queue->GetId(); |
| 79 | } | 79 | } |
| 80 | 80 | ||
| 81 | Kernel::SharedPtr<Kernel::ReadableEvent> NVFlinger::GetVsyncEvent(u64 display_id) { | 81 | Kernel::SharedPtr<Kernel::ReadableEvent> NVFlinger::FindVsyncEvent(u64 display_id) { |
| 82 | return FindDisplay(display_id).vsync_event.readable; | 82 | return FindDisplay(display_id).vsync_event.readable; |
| 83 | } | 83 | } |
| 84 | 84 | ||
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: | |||
| 67 | u32 FindBufferQueueId(u64 display_id, u64 layer_id) const; | 67 | u32 FindBufferQueueId(u64 display_id, u64 layer_id) const; |
| 68 | 68 | ||
| 69 | /// Gets the vsync event for the specified display. | 69 | /// Gets the vsync event for the specified display. |
| 70 | Kernel::SharedPtr<Kernel::ReadableEvent> GetVsyncEvent(u64 display_id); | 70 | Kernel::SharedPtr<Kernel::ReadableEvent> FindVsyncEvent(u64 display_id); |
| 71 | 71 | ||
| 72 | /// Obtains a buffer queue identified by the ID. | 72 | /// Obtains a buffer queue identified by the ID. |
| 73 | std::shared_ptr<BufferQueue> FindBufferQueue(u32 id) const; | 73 | std::shared_ptr<BufferQueue> FindBufferQueue(u32 id) const; |
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp index fe08c38f2..724d48df8 100644 --- a/src/core/hle/service/vi/vi.cpp +++ b/src/core/hle/service/vi/vi.cpp | |||
| @@ -1088,7 +1088,7 @@ private: | |||
| 1088 | 1088 | ||
| 1089 | LOG_WARNING(Service_VI, "(STUBBED) called. display_id=0x{:016X}", display_id); | 1089 | LOG_WARNING(Service_VI, "(STUBBED) called. display_id=0x{:016X}", display_id); |
| 1090 | 1090 | ||
| 1091 | const auto vsync_event = nv_flinger->GetVsyncEvent(display_id); | 1091 | const auto vsync_event = nv_flinger->FindVsyncEvent(display_id); |
| 1092 | 1092 | ||
| 1093 | IPC::ResponseBuilder rb{ctx, 2, 1}; | 1093 | IPC::ResponseBuilder rb{ctx, 2, 1}; |
| 1094 | rb.Push(RESULT_SUCCESS); | 1094 | rb.Push(RESULT_SUCCESS); |