summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVolcaEM <63682805+VolcaEM@users.noreply.github.com>2020-06-14 19:41:28 +0200
committerGitHub <noreply@github.com>2020-06-14 19:41:28 +0200
commit39213b1c593828147b4c2c0738e3fc72221c8e6e (patch)
tree026f3c0ca525c439b213d9c1169f5174499a4fca /src
parentUse consistent variable names (diff)
downloadyuzu-39213b1c593828147b4c2c0738e3fc72221c8e6e.tar
yuzu-39213b1c593828147b4c2c0738e3fc72221c8e6e.tar.gz
yuzu-39213b1c593828147b4c2c0738e3fc72221c8e6e.tar.bz2
yuzu-39213b1c593828147b4c2c0738e3fc72221c8e6e.tar.lz
yuzu-39213b1c593828147b4c2c0738e3fc72221c8e6e.tar.xz
yuzu-39213b1c593828147b4c2c0738e3fc72221c8e6e.tar.zst
yuzu-39213b1c593828147b4c2c0738e3fc72221c8e6e.zip
Diffstat (limited to 'src')
-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 d4c6879ac..09c17f41f 100644
--- a/src/core/hle/service/ldr/ldr.cpp
+++ b/src/core/hle/service/ldr/ldr.cpp
@@ -627,8 +627,8 @@ private:
header.segment_headers[TEXT_INDEX].memory_size;
const bool valid_data_offset = header.segment_headers[DATA_INDEX].memory_offset ==
- header.segment_headers[RO_INDEX].memory_offset +
- header.segment_headers[RO_INDEX].memory_size;
+ header.segment_headers[RO_INDEX].memory_offset +
+ header.segment_headers[RO_INDEX].memory_size;
const bool valid_nro_calculated_size =
nro_size == header.segment_headers[DATA_INDEX].memory_offset +