diff options
author | Mai M <mathew1800@gmail.com> | 2021-11-02 23:41:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-02 23:41:57 +0100 |
commit | 3d1f2bb3aa2e5bced4ab2342b5e591224f09f0ba (patch) | |
tree | 5cbd9a62e1daf1c1de97444858064fe8210df077 /src/core/hle/service/ldr/ldr.cpp | |
parent | Merge pull request #7227 from vonchenplus/fix_memory_leak_v2 (diff) | |
parent | general: Remove MakeResult helpers (diff) | |
download | yuzu-3d1f2bb3aa2e5bced4ab2342b5e591224f09f0ba.tar yuzu-3d1f2bb3aa2e5bced4ab2342b5e591224f09f0ba.tar.gz yuzu-3d1f2bb3aa2e5bced4ab2342b5e591224f09f0ba.tar.bz2 yuzu-3d1f2bb3aa2e5bced4ab2342b5e591224f09f0ba.tar.lz yuzu-3d1f2bb3aa2e5bced4ab2342b5e591224f09f0ba.tar.xz yuzu-3d1f2bb3aa2e5bced4ab2342b5e591224f09f0ba.tar.zst yuzu-3d1f2bb3aa2e5bced4ab2342b5e591224f09f0ba.zip |
Diffstat (limited to 'src/core/hle/service/ldr/ldr.cpp')
-rw-r--r-- | src/core/hle/service/ldr/ldr.cpp | 4 |
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; } } |