aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/ldr
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-07-29 20:43:34 -0400
committerLiam <byteslice@airmail.cc>2023-08-08 11:09:37 -0400
commit37b278a9a85fb934fa78ce4abf12a2c9df7d7112 (patch)
tree7f772ed7cdd56a4b75df1b3873a0a91996567892 /src/core/hle/service/ldr
parent83eee1d2266a1de374be0a8b2c0f2827f5e25bcf (diff)
general: fix incorrect conversions
Diffstat (limited to 'src/core/hle/service/ldr')
-rw-r--r--src/core/hle/service/ldr/ldr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/ldr/ldr.cpp b/src/core/hle/service/ldr/ldr.cpp
index 95c5b7c8e..c73035c77 100644
--- a/src/core/hle/service/ldr/ldr.cpp
+++ b/src/core/hle/service/ldr/ldr.cpp
@@ -545,7 +545,7 @@ public:
}
// Map memory for the NRO
- VAddr map_location;
+ VAddr map_location{};
const auto map_result{MapNro(&map_location, system.ApplicationProcess(), nro_address,
nro_size, bss_address, bss_size, nro_size + bss_size)};
if (map_result != ResultSuccess) {