summaryrefslogtreecommitdiff
path: root/src/core/hle/service/glue
diff options
context:
space:
mode:
authorGravatar Morph2021-11-02 17:23:19 -0400
committerGravatar Morph2021-11-02 17:23:19 -0400
commitcb09ea0f0174162a85f47fdb8446b397c3c57e20 (patch)
tree5cbd9a62e1daf1c1de97444858064fe8210df077 /src/core/hle/service/glue
parenthle/result: Amend ResultVal documentation (diff)
downloadyuzu-cb09ea0f0174162a85f47fdb8446b397c3c57e20.tar.gz
yuzu-cb09ea0f0174162a85f47fdb8446b397c3c57e20.tar.xz
yuzu-cb09ea0f0174162a85f47fdb8446b397c3c57e20.zip
general: Remove MakeResult helpers
This is made obsolete by the presence of implicit constructors.
Diffstat (limited to 'src/core/hle/service/glue')
-rw-r--r--src/core/hle/service/glue/glue_manager.cpp4
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)
26 return ERR_NOT_REGISTERED; 26 return ERR_NOT_REGISTERED;
27 } 27 }
28 28
29 return MakeResult<ApplicationLaunchProperty>(iter->second.launch); 29 return iter->second.launch;
30} 30}
31 31
32ResultVal<std::vector<u8>> ARPManager::GetControlProperty(u64 title_id) const { 32ResultVal<std::vector<u8>> ARPManager::GetControlProperty(u64 title_id) const {
@@ -39,7 +39,7 @@ ResultVal<std::vector<u8>> ARPManager::GetControlProperty(u64 title_id) const {
39 return ERR_NOT_REGISTERED; 39 return ERR_NOT_REGISTERED;
40 } 40 }
41 41
42 return MakeResult<std::vector<u8>>(iter->second.control); 42 return iter->second.control;
43} 43}
44 44
45ResultCode ARPManager::Register(u64 title_id, ApplicationLaunchProperty launch, 45ResultCode ARPManager::Register(u64 title_id, ApplicationLaunchProperty launch,