diff options
author | Liam <byteslice@airmail.cc> | 2024-02-19 00:40:37 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-19 01:02:00 +0100 |
commit | d45a12826c94f7f0da62d1df05245fcae38784e7 (patch) | |
tree | ff111a1568608a17e47d39fa0305b8ad51efbe10 /src/core/hle/service/ns/application_manager_interface.cpp | |
parent | ns: rewrite IQueryService (diff) | |
download | yuzu-d45a12826c94f7f0da62d1df05245fcae38784e7.tar yuzu-d45a12826c94f7f0da62d1df05245fcae38784e7.tar.gz yuzu-d45a12826c94f7f0da62d1df05245fcae38784e7.tar.bz2 yuzu-d45a12826c94f7f0da62d1df05245fcae38784e7.tar.lz yuzu-d45a12826c94f7f0da62d1df05245fcae38784e7.tar.xz yuzu-d45a12826c94f7f0da62d1df05245fcae38784e7.tar.zst yuzu-d45a12826c94f7f0da62d1df05245fcae38784e7.zip |
Diffstat (limited to 'src/core/hle/service/ns/application_manager_interface.cpp')
-rw-r--r-- | src/core/hle/service/ns/application_manager_interface.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/core/hle/service/ns/application_manager_interface.cpp b/src/core/hle/service/ns/application_manager_interface.cpp index 9c7975b77..2e3a44c0d 100644 --- a/src/core/hle/service/ns/application_manager_interface.cpp +++ b/src/core/hle/service/ns/application_manager_interface.cpp @@ -441,12 +441,13 @@ Result IApplicationManagerInterface::GetApplicationRightsOnClient( flags, application_id, account_id.FormattedString()); if (!out_rights.empty()) { - out_rights[0] = { - .application_id = application_id, - .uid = account_id, - .flags = 0, - .flags2 = 0, - }; + ApplicationRightsOnClient rights{}; + rights.application_id = application_id; + rights.uid = account_id; + rights.flags = 0; + rights.flags2 = 0; + + out_rights[0] = rights; *out_count = 1; } else { *out_count = 0; |