mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 21:24:11 -04:00
creport: optimize ScopedFile performance
This commit is contained in:
parent
027e209073
commit
009f581721
4 changed files with 56 additions and 11 deletions
|
@ -46,7 +46,7 @@ namespace ams::creport {
|
|||
}
|
||||
|
||||
void ModuleList::SaveToFile(ScopedFile &file) {
|
||||
file.WriteFormat(" Number of Modules: %zu\n", m_num_modules);
|
||||
file.WriteFormat(" Number of Modules: %02zu\n", m_num_modules);
|
||||
for (size_t i = 0; i < m_num_modules; i++) {
|
||||
const auto& module = m_modules[i];
|
||||
file.WriteFormat(" Module %02zu:\n", i);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue