From 6138075df0b82983e2e9420bda794ce463e72b7e Mon Sep 17 00:00:00 2001 From: David Marcec Date: Sat, 26 May 2018 17:48:09 -0700 Subject: [PATCH] NvOsGetConfigU32 should return null instead of 0 for default output --- 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 edd3f8538c..e979b97078 100644 --- a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp +++ b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp @@ -36,7 +36,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