summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-10-25 20:23:56 +0200
committerZach Hilman <zachhilman@gmail.com>2018-10-25 20:23:56 +0200
commit9a87ece8376530b85df5e21daac317dd2393097c (patch)
tree33e583dae887a26a724b4661e470f74cf6c6fde5 /src
parentMerge pull request #1579 from lioncash/usb (diff)
downloadyuzu-9a87ece8376530b85df5e21daac317dd2393097c.tar
yuzu-9a87ece8376530b85df5e21daac317dd2393097c.tar.gz
yuzu-9a87ece8376530b85df5e21daac317dd2393097c.tar.bz2
yuzu-9a87ece8376530b85df5e21daac317dd2393097c.tar.lz
yuzu-9a87ece8376530b85df5e21daac317dd2393097c.tar.xz
yuzu-9a87ece8376530b85df5e21daac317dd2393097c.tar.zst
yuzu-9a87ece8376530b85df5e21daac317dd2393097c.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/file_sys/ips_layer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/ips_layer.cpp b/src/core/file_sys/ips_layer.cpp
index 554eae9bc..999939d5a 100644
--- a/src/core/file_sys/ips_layer.cpp
+++ b/src/core/file_sys/ips_layer.cpp
@@ -99,7 +99,7 @@ VirtualFile PatchIPS(const VirtualFile& in, const VirtualFile& ips) {
u16 rle_size{};
if (ips->ReadObject(&rle_size, offset) != sizeof(u16))
return nullptr;
- rle_size = Common::swap16(data_size);
+ rle_size = Common::swap16(rle_size);
offset += sizeof(u16);
const auto data = ips->ReadByte(offset++);