summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-01-16 03:49:38 +0100
committerLiam <byteslice@airmail.cc>2024-01-19 03:12:30 +0100
commitb6c6534c30bf579b7816d57b5cd7b2aaf2d8f7a5 (patch)
treebcf5b0ee9dfe9ff6e5d16d3bbfead05bd3cbd705 /src
parentnvdrv: use static typing for SessionId, smmu Asid types (diff)
downloadyuzu-b6c6534c30bf579b7816d57b5cd7b2aaf2d8f7a5.tar
yuzu-b6c6534c30bf579b7816d57b5cd7b2aaf2d8f7a5.tar.gz
yuzu-b6c6534c30bf579b7816d57b5cd7b2aaf2d8f7a5.tar.bz2
yuzu-b6c6534c30bf579b7816d57b5cd7b2aaf2d8f7a5.tar.lz
yuzu-b6c6534c30bf579b7816d57b5cd7b2aaf2d8f7a5.tar.xz
yuzu-b6c6534c30bf579b7816d57b5cd7b2aaf2d8f7a5.tar.zst
yuzu-b6c6534c30bf579b7816d57b5cd7b2aaf2d8f7a5.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/nvdrv/nvdrv.cpp6
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) {
return std::make_shared<NVDRV>(system, module, "nvdrv:a");
};
const auto NvdrvInterfaceFactoryForSysmodules = [&, module] {
- return std::make_shared<NVDRV>(system, module, "nvdrv:a");
+ return std::make_shared<NVDRV>(system, module, "nvdrv:s");
};
- const auto NvdrvInterfaceFactory = [&, module] {
+ const auto NvdrvInterfaceFactoryForTesting = [&, module] {
return std::make_shared<NVDRV>(system, module, "nvdrv:t");
};
server_manager->RegisterNamedService("nvdrv", NvdrvInterfaceFactoryForApplication);
server_manager->RegisterNamedService("nvdrv:a", NvdrvInterfaceFactoryForApplets);
server_manager->RegisterNamedService("nvdrv:s", NvdrvInterfaceFactoryForSysmodules);
- server_manager->RegisterNamedService("nvdrv:t", NvdrvInterfaceFactory);
+ server_manager->RegisterNamedService("nvdrv:t", NvdrvInterfaceFactoryForTesting);
server_manager->RegisterNamedService("nvmemp", std::make_shared<NVMEMP>(system));
nvnflinger.SetNVDrvInstance(module);
ServerManager::RunServer(std::move(server_manager));