summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2014-12-21 23:54:14 +0100
committerSubv <subv2112@gmail.com>2014-12-21 23:54:14 +0100
commitf080e3ccfa579879969803b4871a1afb6c3f937c (patch)
tree9606662422d68a9b242e103e8ba96c1c4c69ade8 /src/core/hle
parentCFG: Some indentation (diff)
downloadyuzu-f080e3ccfa579879969803b4871a1afb6c3f937c.tar
yuzu-f080e3ccfa579879969803b4871a1afb6c3f937c.tar.gz
yuzu-f080e3ccfa579879969803b4871a1afb6c3f937c.tar.bz2
yuzu-f080e3ccfa579879969803b4871a1afb6c3f937c.tar.lz
yuzu-f080e3ccfa579879969803b4871a1afb6c3f937c.tar.xz
yuzu-f080e3ccfa579879969803b4871a1afb6c3f937c.tar.zst
yuzu-f080e3ccfa579879969803b4871a1afb6c3f937c.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/cfg/cfg.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core/hle/service/cfg/cfg.cpp b/src/core/hle/service/cfg/cfg.cpp
index 2d17496e4..034a2c0d6 100644
--- a/src/core/hle/service/cfg/cfg.cpp
+++ b/src/core/hle/service/cfg/cfg.cpp
@@ -43,10 +43,9 @@ ResultCode GetConfigInfoBlock(u32 block_id, u32 size, u32 flag, u8* output) {
SaveFileConfig* config = reinterpret_cast<SaveFileConfig*>(cfg_config_file_buffer.data());
auto itr = std::find_if(std::begin(config->block_entries), std::end(config->block_entries),
- [&](const SaveConfigBlockEntry& entry) {
- return entry.block_id == block_id && entry.size == size &&
- (entry.flags & flag);
- });
+ [&](const SaveConfigBlockEntry& entry) {
+ return entry.block_id == block_id && entry.size == size && (entry.flags & flag);
+ });
if (itr == std::end(config->block_entries)) {
LOG_ERROR(Service_CFG, "Config block %u with size %u and flags %u not found", block_id, size, flag);