From 1b3dd30ba8085dda077feaff2dfdec341ee9f23d Mon Sep 17 00:00:00 2001 From: bunnei Date: Sun, 8 Jul 2018 17:01:46 -0400 Subject: [PATCH] nvhost_ctrl: Fix NvOsGetConfigU32 for Snipper Clips. --- src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp index 303acdcb3..315f81e90 100644 --- a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp +++ b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp @@ -40,7 +40,7 @@ u32 nvhost_ctrl::NvOsGetConfigU32(const std::vector& input, std::vector& } else if (!strcmp(params.param_str.data(), "NVRM_GPU_PREVENT_USE")) { params.config_str[0] = '0'; } else { - params.config_str[0] = '\0'; + params.config_str[0] = '0'; } } else { UNIMPLEMENTED(); // unknown domain? Only nv has been seen so far on hardware