diff options
| author | 2019-01-28 11:05:07 -0500 | |
|---|---|---|
| committer | 2019-01-28 11:05:07 -0500 | |
| commit | 72c48e01c97f7f94c63176838525909731d1aa9a (patch) | |
| tree | 68a17274bf5cd7735a212945a2c376957ab04307 | |
| parent | Merge pull request #2060 from lioncash/exception (diff) | |
| parent | service/vi: Remove stubbed notifier from SetLayerVisibility (diff) | |
| download | yuzu-72c48e01c97f7f94c63176838525909731d1aa9a.tar.gz yuzu-72c48e01c97f7f94c63176838525909731d1aa9a.tar.xz yuzu-72c48e01c97f7f94c63176838525909731d1aa9a.zip | |
Merge pull request #2064 from lioncash/vi-stub
service/vi: Remove stubbed notifier from SetLayerVisibility
| -rw-r--r-- | src/core/hle/service/vi/vi.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp index 70c933934..0f2c25182 100644 --- a/src/core/hle/service/vi/vi.cpp +++ b/src/core/hle/service/vi/vi.cpp | |||
| @@ -704,13 +704,14 @@ private: | |||
| 704 | rb.Push(RESULT_SUCCESS); | 704 | rb.Push(RESULT_SUCCESS); |
| 705 | } | 705 | } |
| 706 | 706 | ||
| 707 | // This function currently does nothing but return a success error code in | ||
| 708 | // the vi library itself, so do the same thing, but log out the passed in values. | ||
| 707 | void SetLayerVisibility(Kernel::HLERequestContext& ctx) { | 709 | void SetLayerVisibility(Kernel::HLERequestContext& ctx) { |
| 708 | IPC::RequestParser rp{ctx}; | 710 | IPC::RequestParser rp{ctx}; |
| 709 | const u64 layer_id = rp.Pop<u64>(); | 711 | const u64 layer_id = rp.Pop<u64>(); |
| 710 | const bool visibility = rp.Pop<bool>(); | 712 | const bool visibility = rp.Pop<bool>(); |
| 711 | 713 | ||
| 712 | LOG_WARNING(Service_VI, "(STUBBED) called, layer_id=0x{:08X}, visibility={}", layer_id, | 714 | LOG_DEBUG(Service_VI, "called, layer_id=0x{:08X}, visibility={}", layer_id, visibility); |
| 713 | visibility); | ||
| 714 | 715 | ||
| 715 | IPC::ResponseBuilder rb{ctx, 2}; | 716 | IPC::ResponseBuilder rb{ctx, 2}; |
| 716 | rb.Push(RESULT_SUCCESS); | 717 | rb.Push(RESULT_SUCCESS); |