diff options
| author | 2018-05-27 12:10:07 -0400 | |
|---|---|---|
| committer | 2018-05-27 12:10:07 -0400 | |
| commit | 7029daa32e064caf27b88188a5ecef76b4807726 (patch) | |
| tree | 96c7080c42d6c99832b7b7e8c269f643dd61db74 /src | |
| 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.gz yuzu-7029daa32e064caf27b88188a5ecef76b4807726.tar.xz yuzu-7029daa32e064caf27b88188a5ecef76b4807726.zip | |
Merge pull request #475 from ogniK5377/nvos-getconfig
NvOsGetConfigU32 should return null instead of 0 for default output value
Diffstat (limited to 'src')
| -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>& | |||
| 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 |