summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar David Marcec2018-05-26 17:48:09 -0700
committerGravatar David Marcec2018-05-26 17:48:09 -0700
commit6138075df0b82983e2e9420bda794ce463e72b7e (patch)
treea5aeb5d851c09c364bd12872a2f8092861ab1303 /src
parentAdd & correct miscellaneous things (#470) (diff)
downloadyuzu-6138075df0b82983e2e9420bda794ce463e72b7e.tar.gz
yuzu-6138075df0b82983e2e9420bda794ce463e72b7e.tar.xz
yuzu-6138075df0b82983e2e9420bda794ce463e72b7e.zip
NvOsGetConfigU32 should return null instead of 0 for default output
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp
index edd3f8538..e979b9707 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<u8>& input, std::vector<u8>&
36 } else if (!strcmp(params.param_str.data(), "NVRM_GPU_PREVENT_USE")) { 36 } else if (!strcmp(params.param_str.data(), "NVRM_GPU_PREVENT_USE")) {
37 params.config_str[0] = '0'; 37 params.config_str[0] = '0';
38 } else { 38 } else {
39 params.config_str[0] = '0'; 39 params.config_str[0] = '\0';
40 } 40 }
41 } else { 41 } else {
42 UNIMPLEMENTED(); // unknown domain? Only nv has been seen so far on hardware 42 UNIMPLEMENTED(); // unknown domain? Only nv has been seen so far on hardware