mirror of
				https://git.suyu.dev/suyu/suyu.git
				synced 2025-11-04 12:34:39 +08:00 
			
		
		
		
	svc: changed SendSyncRequest to use Kernel::Object SyncRequest (instead of just service Interface class)
This commit is contained in:
		
							parent
							
								
									d73d782ba7
								
							
						
					
					
						commit
						9f7ed2d027
					
				@ -96,8 +96,8 @@ Result ConnectToPort(void* out, const char* port_name) {
 | 
			
		||||
/// Synchronize to an OS service
 | 
			
		||||
Result SendSyncRequest(Handle handle) {
 | 
			
		||||
    DEBUG_LOG(SVC, "SendSyncRequest called handle=0x%08X");
 | 
			
		||||
    Service::Interface* service = Service::g_manager->FetchFromHandle(handle);
 | 
			
		||||
    service->Sync();
 | 
			
		||||
    Kernel::Object* object = Kernel::g_object_pool.GetFast<Kernel::Object>(handle);
 | 
			
		||||
    object->SyncRequest();
 | 
			
		||||
    return 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user