Fix clang format
This commit is contained in:
parent
d8ac3a3435
commit
739f8e5367
|
@ -64,8 +64,9 @@ public:
|
||||||
static constexpr u64 slope(183);
|
static constexpr u64 slope(183);
|
||||||
static constexpr u64 offset(524879);
|
static constexpr u64 offset(524879);
|
||||||
static constexpr u64 minimum(631826);
|
static constexpr u64 minimum(631826);
|
||||||
u64 IPCDelayNanoseconds = std::max<u64>(static_cast<u64>(length) * slope + offset, minimum);
|
u64 ipc_delay_nanoseconds =
|
||||||
return IPCDelayNanoseconds;
|
std::max<u64>(static_cast<u64>(length) * slope + offset, minimum);
|
||||||
|
return ipc_delay_nanoseconds;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -245,9 +245,8 @@ void ArchiveFactory_SelfNCCH::Register(Loader::AppLoader& app_loader) {
|
||||||
program_id);
|
program_id);
|
||||||
|
|
||||||
if (ncch_data.find(program_id) != ncch_data.end()) {
|
if (ncch_data.find(program_id) != ncch_data.end()) {
|
||||||
LOG_WARNING(Service_FS,
|
LOG_WARNING(Service_FS, "Registering program %016" PRIX64
|
||||||
"Registering program %016" PRIX64
|
" with SelfNCCH will override existing mapping",
|
||||||
" with SelfNCCH will override existing mapping",
|
|
||||||
program_id);
|
program_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -261,9 +260,9 @@ void ArchiveFactory_SelfNCCH::Register(Loader::AppLoader& app_loader) {
|
||||||
}
|
}
|
||||||
|
|
||||||
std::shared_ptr<FileUtil::IOFile> update_romfs_file;
|
std::shared_ptr<FileUtil::IOFile> update_romfs_file;
|
||||||
if (Loader::ResultStatus::Success == app_loader.ReadUpdateRomFS(update_romfs_file,
|
if (Loader::ResultStatus::Success ==
|
||||||
data.update_romfs_offset,
|
app_loader.ReadUpdateRomFS(update_romfs_file, data.update_romfs_offset,
|
||||||
data.update_romfs_size)) {
|
data.update_romfs_size)) {
|
||||||
|
|
||||||
data.update_romfs_file = std::move(update_romfs_file);
|
data.update_romfs_file = std::move(update_romfs_file);
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue