|
|
@ -44,8 +44,7 @@ ResultCode GetConfigInfoBlock(u32 block_id, u32 size, u32 flag, u8* output) {
|
|
|
|
|
|
|
|
|
|
|
|
auto itr = std::find_if(std::begin(config->block_entries), std::end(config->block_entries),
|
|
|
|
auto itr = std::find_if(std::begin(config->block_entries), std::end(config->block_entries),
|
|
|
|
[&](const SaveConfigBlockEntry& entry) {
|
|
|
|
[&](const SaveConfigBlockEntry& entry) {
|
|
|
|
return entry.block_id == block_id && entry.size == size &&
|
|
|
|
return entry.block_id == block_id && entry.size == size && (entry.flags & flag);
|
|
|
|
(entry.flags & flag);
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
if (itr == std::end(config->block_entries)) {
|
|
|
|
if (itr == std::end(config->block_entries)) {
|
|
|
|