summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-07-14 01:43:34 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-07-14 02:10:12 +0200
commita1f08788d9626434c6f743b1cf2a9a4e59dbc741 (patch)
tree275321ce3675c38581e51a431cea63f67b7912cc /src/core/hle/service
parentLoader: Remove unnecessary pointer indirection to IOFile (diff)
downloadyuzu-a1f08788d9626434c6f743b1cf2a9a4e59dbc741.tar
yuzu-a1f08788d9626434c6f743b1cf2a9a4e59dbc741.tar.gz
yuzu-a1f08788d9626434c6f743b1cf2a9a4e59dbc741.tar.bz2
yuzu-a1f08788d9626434c6f743b1cf2a9a4e59dbc741.tar.lz
yuzu-a1f08788d9626434c6f743b1cf2a9a4e59dbc741.tar.xz
yuzu-a1f08788d9626434c6f743b1cf2a9a4e59dbc741.tar.zst
yuzu-a1f08788d9626434c6f743b1cf2a9a4e59dbc741.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/fs/archive.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/fs/archive.cpp b/src/core/hle/service/fs/archive.cpp
index ba272f05f..6c0df67c3 100644
--- a/src/core/hle/service/fs/archive.cpp
+++ b/src/core/hle/service/fs/archive.cpp
@@ -116,7 +116,7 @@ ResultVal<bool> File::SyncRequest() {
u32 address = cmd_buff[6];
LOG_TRACE(Service_FS, "Write %s %s: offset=0x%llx length=%d address=0x%x, flush=0x%x",
GetTypeName().c_str(), GetName().c_str(), offset, length, address, flush);
- cmd_buff[2] = static_cast<u32>(backend->Write(offset, length, flush, Memory::GetPointer(address)));
+ cmd_buff[2] = static_cast<u32>(backend->Write(offset, length, flush != 0, Memory::GetPointer(address)));
break;
}