diff options
| author | 2024-01-15 21:49:38 -0500 | |
|---|---|---|
| committer | 2024-01-18 21:12:30 -0500 | |
| commit | b6c6534c30bf579b7816d57b5cd7b2aaf2d8f7a5 (patch) | |
| tree | bcf5b0ee9dfe9ff6e5d16d3bbfead05bd3cbd705 | |
| parent | nvdrv: use static typing for SessionId, smmu Asid types (diff) | |
| download | yuzu-b6c6534c30bf579b7816d57b5cd7b2aaf2d8f7a5.tar.gz yuzu-b6c6534c30bf579b7816d57b5cd7b2aaf2d8f7a5.tar.xz yuzu-b6c6534c30bf579b7816d57b5cd7b2aaf2d8f7a5.zip | |
nvdrv: use correct names for interface factory
| -rw-r--r-- | src/core/hle/service/nvdrv/nvdrv.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/nvdrv/nvdrv.cpp b/src/core/hle/service/nvdrv/nvdrv.cpp index 5f093c0d4..cb256e5b4 100644 --- a/src/core/hle/service/nvdrv/nvdrv.cpp +++ b/src/core/hle/service/nvdrv/nvdrv.cpp | |||
| @@ -52,15 +52,15 @@ void LoopProcess(Nvnflinger::Nvnflinger& nvnflinger, Core::System& system) { | |||
| 52 | return std::make_shared<NVDRV>(system, module, "nvdrv:a"); | 52 | return std::make_shared<NVDRV>(system, module, "nvdrv:a"); |
| 53 | }; | 53 | }; |
| 54 | const auto NvdrvInterfaceFactoryForSysmodules = [&, module] { | 54 | const auto NvdrvInterfaceFactoryForSysmodules = [&, module] { |
| 55 | return std::make_shared<NVDRV>(system, module, "nvdrv:a"); | 55 | return std::make_shared<NVDRV>(system, module, "nvdrv:s"); |
| 56 | }; | 56 | }; |
| 57 | const auto NvdrvInterfaceFactory = [&, module] { | 57 | const auto NvdrvInterfaceFactoryForTesting = [&, module] { |
| 58 | return std::make_shared<NVDRV>(system, module, "nvdrv:t"); | 58 | return std::make_shared<NVDRV>(system, module, "nvdrv:t"); |
| 59 | }; | 59 | }; |
| 60 | server_manager->RegisterNamedService("nvdrv", NvdrvInterfaceFactoryForApplication); | 60 | server_manager->RegisterNamedService("nvdrv", NvdrvInterfaceFactoryForApplication); |
| 61 | server_manager->RegisterNamedService("nvdrv:a", NvdrvInterfaceFactoryForApplets); | 61 | server_manager->RegisterNamedService("nvdrv:a", NvdrvInterfaceFactoryForApplets); |
| 62 | server_manager->RegisterNamedService("nvdrv:s", NvdrvInterfaceFactoryForSysmodules); | 62 | server_manager->RegisterNamedService("nvdrv:s", NvdrvInterfaceFactoryForSysmodules); |
| 63 | server_manager->RegisterNamedService("nvdrv:t", NvdrvInterfaceFactory); | 63 | server_manager->RegisterNamedService("nvdrv:t", NvdrvInterfaceFactoryForTesting); |
| 64 | server_manager->RegisterNamedService("nvmemp", std::make_shared<NVMEMP>(system)); | 64 | server_manager->RegisterNamedService("nvmemp", std::make_shared<NVMEMP>(system)); |
| 65 | nvnflinger.SetNVDrvInstance(module); | 65 | nvnflinger.SetNVDrvInstance(module); |
| 66 | ServerManager::RunServer(std::move(server_manager)); | 66 | ServerManager::RunServer(std::move(server_manager)); |