aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/service/ldr
diff options
context:
space:
mode:
authorMorph <[email protected]>2021-11-02 17:23:19 -0400
committerMorph <[email protected]>2021-11-02 17:23:19 -0400
commitcb09ea0f0174162a85f47fdb8446b397c3c57e20 (patch)
tree5cbd9a62e1daf1c1de97444858064fe8210df077 /src/core/hle/service/ldr
parent98b351758c9912735ad0cedd0ab68c39185e6040 (diff)
downloadyuzu-android-cb09ea0f0174162a85f47fdb8446b397c3c57e20.tar.gz
yuzu-android-cb09ea0f0174162a85f47fdb8446b397c3c57e20.zip
general: Remove MakeResult helpers
This is made obsolete by the presence of implicit constructors.
Diffstat (limited to 'src/core/hle/service/ldr')
-rw-r--r--src/core/hle/service/ldr/ldr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/ldr/ldr.cpp b/src/core/hle/service/ldr/ldr.cpp
index 24b7e4435..e4b97c1f6 100644
--- a/src/core/hle/service/ldr/ldr.cpp
+++ b/src/core/hle/service/ldr/ldr.cpp
@@ -335,7 +335,7 @@ public:
CASCADE_CODE(result);
if (ValidateRegionForMap(page_table, addr, size)) {
- return MakeResult<VAddr>(addr);
+ return addr;
}
}
@@ -371,7 +371,7 @@ public:
}
if (ValidateRegionForMap(page_table, addr, size)) {
- return MakeResult<VAddr>(addr);
+ return addr;
}
}