yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

Merge pull request #475 from ogniK5377/nvos-getconfig

NvOsGetConfigU32 should return null instead of 0 for default output value
This commit is contained in:
bunnei 2018-05-27 12:10:07 -04:00 committed by GitHub
commit 7029daa32e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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")) { } else if (!strcmp(params.param_str.data(), "NVRM_GPU_PREVENT_USE")) {
params.config_str[0] = '0'; params.config_str[0] = '0';
} else { } else {
params.config_str[0] = '0'; params.config_str[0] = '\0';
} }
} else { } else {
UNIMPLEMENTED(); // unknown domain? Only nv has been seen so far on hardware UNIMPLEMENTED(); // unknown domain? Only nv has been seen so far on hardware