瀏覽代碼

hle: service: nvdrv: Create a service thread where appropriate.

Morph 4 年之前
父節點
當前提交
93f010c988
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/core/hle/service/nvdrv/nvdrv_interface.cpp

+ 1 - 1
src/core/hle/service/nvdrv/nvdrv_interface.cpp

@@ -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"},