diff options
author | bunnei <bunneidev@gmail.com> | 2018-05-27 12:10:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-27 12:10:07 -0400 |
commit | 7029daa32e064caf27b88188a5ecef76b4807726 (patch) | |
tree | 96c7080c42d6c99832b7b7e8c269f643dd61db74 | |
parent | 15c388e0d67678c9d0ab22c5ba7f7fb5b9ceb9f8 (diff) | |
parent | 6138075df0b82983e2e9420bda794ce463e72b7e (diff) |
Merge pull request #475 from ogniK5377/nvos-getconfig
NvOsGetConfigU32 should return null instead of 0 for default output value
-rw-r--r-- | src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp | 2 |
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>& } 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 |