summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2019-01-28 08:21:34 -0500
committerGravatar Lioncash2019-01-28 08:22:28 -0500
commit5e636d1f6e97c8bbd048b501e92693f192df725e (patch)
tree68a17274bf5cd7735a212945a2c376957ab04307 /src
parentMerge pull request #2060 from lioncash/exception (diff)
downloadyuzu-5e636d1f6e97c8bbd048b501e92693f192df725e.tar.gz
yuzu-5e636d1f6e97c8bbd048b501e92693f192df725e.tar.xz
yuzu-5e636d1f6e97c8bbd048b501e92693f192df725e.zip
service/vi: Remove stubbed notifier from SetLayerVisibility
This appears to be a vestigial API function that's only kept around for compatibility's sake, given the function only returns a success error code and exits. Since that's the case, we can remove the stubbed notification from the log, since doing nothing is technically the correct behavior in this case.
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/vi/vi.cpp5
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);