diff options
author | Lioncash <mathew1800@gmail.com> | 2019-01-03 02:45:40 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-01-03 02:48:04 +0100 |
commit | ceeff8ebfd43b2dcdde1507bdd06adf47a17584a (patch) | |
tree | 10044d0b6372cddf60efbc5844a209edb2539292 /src | |
parent | Merge pull request #1977 from lioncash/vi-log (diff) | |
download | yuzu-ceeff8ebfd43b2dcdde1507bdd06adf47a17584a.tar yuzu-ceeff8ebfd43b2dcdde1507bdd06adf47a17584a.tar.gz yuzu-ceeff8ebfd43b2dcdde1507bdd06adf47a17584a.tar.bz2 yuzu-ceeff8ebfd43b2dcdde1507bdd06adf47a17584a.tar.lz yuzu-ceeff8ebfd43b2dcdde1507bdd06adf47a17584a.tar.xz yuzu-ceeff8ebfd43b2dcdde1507bdd06adf47a17584a.tar.zst yuzu-ceeff8ebfd43b2dcdde1507bdd06adf47a17584a.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/service/vi/vi.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp index 5c21ac703..ecfec9995 100644 --- a/src/core/hle/service/vi/vi.cpp +++ b/src/core/hle/service/vi/vi.cpp @@ -921,6 +921,15 @@ private: rb.Push(RESULT_SUCCESS); } + // This literally does nothing internally in the actual service itself, + // and just returns a successful result code regardless of the input. + void SetDisplayEnabled(Kernel::HLERequestContext& ctx) { + LOG_DEBUG(Service_VI, "called."); + + IPC::ResponseBuilder rb{ctx, 2}; + rb.Push(RESULT_SUCCESS); + } + void GetDisplayResolution(Kernel::HLERequestContext& ctx) { IPC::RequestParser rp{ctx}; const u64 display_id = rp.Pop<u64>(); @@ -1096,7 +1105,7 @@ IApplicationDisplayService::IApplicationDisplayService( {1010, &IApplicationDisplayService::OpenDisplay, "OpenDisplay"}, {1011, nullptr, "OpenDefaultDisplay"}, {1020, &IApplicationDisplayService::CloseDisplay, "CloseDisplay"}, - {1101, nullptr, "SetDisplayEnabled"}, + {1101, &IApplicationDisplayService::SetDisplayEnabled, "SetDisplayEnabled"}, {1102, &IApplicationDisplayService::GetDisplayResolution, "GetDisplayResolution"}, {2020, &IApplicationDisplayService::OpenLayer, "OpenLayer"}, {2021, nullptr, "CloseLayer"}, |