diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-11-02 22:23:19 +0100 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-11-02 22:23:19 +0100 |
commit | cb09ea0f0174162a85f47fdb8446b397c3c57e20 (patch) | |
tree | 5cbd9a62e1daf1c1de97444858064fe8210df077 /src/core/hle/service/glue | |
parent | hle/result: Amend ResultVal documentation (diff) | |
download | yuzu-cb09ea0f0174162a85f47fdb8446b397c3c57e20.tar yuzu-cb09ea0f0174162a85f47fdb8446b397c3c57e20.tar.gz yuzu-cb09ea0f0174162a85f47fdb8446b397c3c57e20.tar.bz2 yuzu-cb09ea0f0174162a85f47fdb8446b397c3c57e20.tar.lz yuzu-cb09ea0f0174162a85f47fdb8446b397c3c57e20.tar.xz yuzu-cb09ea0f0174162a85f47fdb8446b397c3c57e20.tar.zst yuzu-cb09ea0f0174162a85f47fdb8446b397c3c57e20.zip |
Diffstat (limited to 'src/core/hle/service/glue')
-rw-r--r-- | src/core/hle/service/glue/glue_manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/glue/glue_manager.cpp b/src/core/hle/service/glue/glue_manager.cpp index aa9d48c0c..48e133b48 100644 --- a/src/core/hle/service/glue/glue_manager.cpp +++ b/src/core/hle/service/glue/glue_manager.cpp @@ -26,7 +26,7 @@ ResultVal<ApplicationLaunchProperty> ARPManager::GetLaunchProperty(u64 title_id) return ERR_NOT_REGISTERED; } - return MakeResult<ApplicationLaunchProperty>(iter->second.launch); + return iter->second.launch; } ResultVal<std::vector<u8>> ARPManager::GetControlProperty(u64 title_id) const { @@ -39,7 +39,7 @@ ResultVal<std::vector<u8>> ARPManager::GetControlProperty(u64 title_id) const { return ERR_NOT_REGISTERED; } - return MakeResult<std::vector<u8>>(iter->second.control); + return iter->second.control; } ResultCode ARPManager::Register(u64 title_id, ApplicationLaunchProperty launch, |