mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-12-25 17:21:55 +01:00
CFG: Some indentation
This commit is contained in:
parent
b3cee19289
commit
6f304d3b00
@ -44,7 +44,8 @@ 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),
|
||||
[&](const SaveConfigBlockEntry& entry) {
|
||||
return entry.block_id == block_id && entry.size == size && (entry.flags & flag);
|
||||
return entry.block_id == block_id && entry.size == size &&
|
||||
(entry.flags & flag);
|
||||
});
|
||||
|
||||
if (itr == std::end(config->block_entries)) {
|
||||
@ -160,9 +161,10 @@ ResultCode FormatConfig() {
|
||||
void CFGInit() {
|
||||
// TODO(Subv): In the future we should use the FS service to query this archive,
|
||||
// currently it is not possible because you can only have one open archive of the same type at any time
|
||||
using Common::make_unique;
|
||||
std::string syssavedata_directory = FileUtil::GetUserPath(D_SYSSAVEDATA_IDX);
|
||||
cfg_system_save_data = Common::make_unique<FileSys::Archive_SystemSaveData>(syssavedata_directory,
|
||||
CFG_SAVE_ID);
|
||||
cfg_system_save_data = make_unique<FileSys::Archive_SystemSaveData>(
|
||||
syssavedata_directory, CFG_SAVE_ID);
|
||||
if (!cfg_system_save_data->Initialize()) {
|
||||
LOG_CRITICAL(Service_CFG, "Could not initialize SystemSaveData archive for the CFG:U service");
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user