mirror of
				https://git.suyu.dev/suyu/suyu.git
				synced 2025-11-04 12:34:39 +08:00 
			
		
		
		
	hle: service: nvdrv: Create a service thread where appropriate.
This commit is contained in:
		
							parent
							
								
									d02bf6dab1
								
							
						
					
					
						commit
						93f010c988
					
				@ -230,7 +230,7 @@ void NVDRV::DumpGraphicsMemoryInfo(Kernel::HLERequestContext& ctx) {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
NVDRV::NVDRV(Core::System& system_, std::shared_ptr<Module> nvdrv_, const char* name)
 | 
					NVDRV::NVDRV(Core::System& system_, std::shared_ptr<Module> nvdrv_, const char* name)
 | 
				
			||||||
    : ServiceFramework{system_, name}, nvdrv{std::move(nvdrv_)} {
 | 
					    : ServiceFramework{system_, name, ServiceThreadType::CreateNew}, nvdrv{std::move(nvdrv_)} {
 | 
				
			||||||
    static const FunctionInfo functions[] = {
 | 
					    static const FunctionInfo functions[] = {
 | 
				
			||||||
        {0, &NVDRV::Open, "Open"},
 | 
					        {0, &NVDRV::Open, "Open"},
 | 
				
			||||||
        {1, &NVDRV::Ioctl1, "Ioctl"},
 | 
					        {1, &NVDRV::Ioctl1, "Ioctl"},
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user