hipc: begin implementing domains. fixes ro + sm together

This commit is contained in:
Michael Scire 2019-10-14 09:20:21 -07:00 committed by SciresM
parent c8ed190e5c
commit 0c7827104f
10 changed files with 557 additions and 17 deletions

View file

@ -318,7 +318,8 @@ namespace sts::ro::impl {
bool ShouldEaseNroRestriction() {
/* Retrieve whether we should ease restrictions from set:sys. */
bool should_ease = false;
if (R_FAILED(setsysGetSettingsItemValue("ro", "ease_nro_restriction", &should_ease, sizeof(should_ease)))) {
u64 size_out;
if (R_FAILED(setsysGetSettingsItemValue("ro", "ease_nro_restriction", &should_ease, sizeof(should_ease), &size_out))) {
return false;
}