summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-07-09 23:32:22 +0200
committerGitHub <noreply@github.com>2018-07-09 23:32:22 +0200
commit0d51cfe2f5246440c3fd07188fb330b8471a7919 (patch)
treef6c750405f5cd1f5d7dac5e625da79443071f37f
parentMerge pull request #625 from Subv/imnmx (diff)
parentnvhost_ctrl: Fix NvOsGetConfigU32 for Snipper Clips. (diff)
downloadyuzu-0d51cfe2f5246440c3fd07188fb330b8471a7919.tar
yuzu-0d51cfe2f5246440c3fd07188fb330b8471a7919.tar.gz
yuzu-0d51cfe2f5246440c3fd07188fb330b8471a7919.tar.bz2
yuzu-0d51cfe2f5246440c3fd07188fb330b8471a7919.tar.lz
yuzu-0d51cfe2f5246440c3fd07188fb330b8471a7919.tar.xz
yuzu-0d51cfe2f5246440c3fd07188fb330b8471a7919.tar.zst
yuzu-0d51cfe2f5246440c3fd07188fb330b8471a7919.zip
-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 303acdcb3..315f81e90 100644
--- a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp
+++ b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp
@@ -40,7 +40,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