diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/vi/vi.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp index b35a7a377..93ebbe75f 100644 --- a/src/core/hle/service/vi/vi.cpp +++ b/src/core/hle/service/vi/vi.cpp | |||
| @@ -494,6 +494,7 @@ public: | |||
| 494 | IManagerDisplayService(std::shared_ptr<NVFlinger> nv_flinger) | 494 | IManagerDisplayService(std::shared_ptr<NVFlinger> nv_flinger) |
| 495 | : ServiceFramework("IManagerDisplayService"), nv_flinger(std::move(nv_flinger)) { | 495 | : ServiceFramework("IManagerDisplayService"), nv_flinger(std::move(nv_flinger)) { |
| 496 | static const FunctionInfo functions[] = { | 496 | static const FunctionInfo functions[] = { |
| 497 | {1020, &IManagerDisplayService::CloseDisplay, "CloseDisplay"}, | ||
| 497 | {1102, nullptr, "GetDisplayResolution"}, | 498 | {1102, nullptr, "GetDisplayResolution"}, |
| 498 | {2010, &IManagerDisplayService::CreateManagedLayer, "CreateManagedLayer"}, | 499 | {2010, &IManagerDisplayService::CreateManagedLayer, "CreateManagedLayer"}, |
| 499 | {6000, &IManagerDisplayService::AddToLayerStack, "AddToLayerStack"}, | 500 | {6000, &IManagerDisplayService::AddToLayerStack, "AddToLayerStack"}, |
| @@ -503,6 +504,15 @@ public: | |||
| 503 | ~IManagerDisplayService() = default; | 504 | ~IManagerDisplayService() = default; |
| 504 | 505 | ||
| 505 | private: | 506 | private: |
| 507 | void CloseDisplay(Kernel::HLERequestContext& ctx) { | ||
| 508 | LOG_WARNING(Service, "(STUBBED) called"); | ||
| 509 | IPC::RequestParser rp{ctx}; | ||
| 510 | u64 display = rp.Pop<u64>(); | ||
| 511 | |||
| 512 | IPC::RequestBuilder rb = rp.MakeBuilder(2, 0, 0, 0); | ||
| 513 | rb.Push(RESULT_SUCCESS); | ||
| 514 | } | ||
| 515 | |||
| 506 | void CreateManagedLayer(Kernel::HLERequestContext& ctx) { | 516 | void CreateManagedLayer(Kernel::HLERequestContext& ctx) { |
| 507 | LOG_WARNING(Service, "(STUBBED) called"); | 517 | LOG_WARNING(Service, "(STUBBED) called"); |
| 508 | IPC::RequestParser rp{ctx}; | 518 | IPC::RequestParser rp{ctx}; |