controller: Use DuplicateSession for DuplicateSessionEx.
This commit is contained in:
		
							parent
							
								
									18507b09b2
								
							
						
					
					
						commit
						6a36ffb86c
					
				| @ -32,6 +32,12 @@ void Controller::DuplicateSession(Kernel::HLERequestContext& ctx) { | ||||
|     LOG_DEBUG(Service, "called"); | ||||
| } | ||||
| 
 | ||||
| void Controller::DuplicateSessionEx(Kernel::HLERequestContext& ctx) { | ||||
|     DuplicateSession(ctx); | ||||
| 
 | ||||
|     LOG_WARNING(Service, "(STUBBED) called, using DuplicateSession"); | ||||
| } | ||||
| 
 | ||||
| void Controller::QueryPointerBufferSize(Kernel::HLERequestContext& ctx) { | ||||
|     IPC::RequestBuilder rb{ctx, 3}; | ||||
|     rb.Push(RESULT_SUCCESS); | ||||
| @ -46,7 +52,7 @@ Controller::Controller() : ServiceFramework("IpcController") { | ||||
|         {0x00000001, nullptr, "ConvertDomainToSession"}, | ||||
|         {0x00000002, &Controller::DuplicateSession, "DuplicateSession"}, | ||||
|         {0x00000003, &Controller::QueryPointerBufferSize, "QueryPointerBufferSize"}, | ||||
|         {0x00000004, nullptr, "DuplicateSessionEx"}, | ||||
|         {0x00000004, &Controller::DuplicateSessionEx, "DuplicateSessionEx"}, | ||||
|     }; | ||||
|     RegisterHandlers(functions); | ||||
| } | ||||
|  | ||||
| @ -17,6 +17,7 @@ public: | ||||
| private: | ||||
|     void ConvertSessionToDomain(Kernel::HLERequestContext& ctx); | ||||
|     void DuplicateSession(Kernel::HLERequestContext& ctx); | ||||
|     void DuplicateSessionEx(Kernel::HLERequestContext& ctx); | ||||
|     void QueryPointerBufferSize(Kernel::HLERequestContext& ctx); | ||||
| }; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 bunnei
						bunnei