citra-emu
/
citra
Archived
1
0
Fork 0

file_sys: Replace commented log lines from previous PR with trace logs. (#7109)

This commit is contained in:
Steveice10 2023-11-04 08:07:55 -07:00 committed by GitHub
parent b10f3d96f5
commit 09ee80f590
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -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))