mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-27 01:22:37 -06:00
file_sys: Replace commented log lines from previous PR with trace logs. (#7109)
This commit is contained in:
parent
b10f3d96f5
commit
09ee80f590
1 changed files with 5 additions and 5 deletions
|
@ -25,7 +25,7 @@ std::size_t DirectRomFSReader::ReadFile(std::size_t offset, std::size_t length,
|
||||||
d.Seek(crypto_offset + offset);
|
d.Seek(crypto_offset + offset);
|
||||||
d.ProcessData(buffer, buffer, length);
|
d.ProcessData(buffer, buffer, length);
|
||||||
}
|
}
|
||||||
// LOG_INFO(Service_FS, "Cache SKIP: offset={}, length={}", offset, length);
|
LOG_TRACE(Service_FS, "RomFS Cache SKIP: offset={}, length={}", offset, length);
|
||||||
return length;
|
return length;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,11 +44,11 @@ std::size_t DirectRomFSReader::ReadFile(std::size_t offset, std::size_t length,
|
||||||
d.Seek(crypto_offset + page);
|
d.Seek(crypto_offset + page);
|
||||||
d.ProcessData(cache_entry.second.data(), cache_entry.second.data(), read_size);
|
d.ProcessData(cache_entry.second.data(), cache_entry.second.data(), read_size);
|
||||||
}
|
}
|
||||||
// LOG_INFO(Service_FS, "Cache MISS: page={}, length={}, into={}", page, seg.second,
|
LOG_TRACE(Service_FS, "RomFS Cache MISS: page={}, length={}, into={}", page, seg.second,
|
||||||
// (seg.first - page));
|
(seg.first - page));
|
||||||
} else {
|
} else {
|
||||||
// LOG_INFO(Service_FS, "Cache HIT: page={}, length={}, into={}", page, seg.second,
|
LOG_TRACE(Service_FS, "RomFS Cache HIT: page={}, length={}, into={}", page, seg.second,
|
||||||
// (seg.first - page));
|
(seg.first - page));
|
||||||
}
|
}
|
||||||
size_t copy_amount =
|
size_t copy_amount =
|
||||||
(read_size > (seg.first - page))
|
(read_size > (seg.first - page))
|
||||||
|
|
Loading…
Reference in a new issue