diff options
author | bunnei <bunneidev@gmail.com> | 2018-05-27 18:10:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-27 18:10:07 +0200 |
commit | 7029daa32e064caf27b88188a5ecef76b4807726 (patch) | |
tree | 96c7080c42d6c99832b7b7e8c269f643dd61db74 /src/core/hle | |
parent | Merge pull request #473 from bunnei/get-display-version (diff) | |
parent | NvOsGetConfigU32 should return null instead of 0 for default output (diff) | |
download | yuzu-7029daa32e064caf27b88188a5ecef76b4807726.tar yuzu-7029daa32e064caf27b88188a5ecef76b4807726.tar.gz yuzu-7029daa32e064caf27b88188a5ecef76b4807726.tar.bz2 yuzu-7029daa32e064caf27b88188a5ecef76b4807726.tar.lz yuzu-7029daa32e064caf27b88188a5ecef76b4807726.tar.xz yuzu-7029daa32e064caf27b88188a5ecef76b4807726.tar.zst yuzu-7029daa32e064caf27b88188a5ecef76b4807726.zip |
Diffstat (limited to 'src/core/hle')
-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 |