Merge pull request #3403 from lioncash/debug

bcat/backend: Prevent fmt exception in debug log within NullBackend::Clear()
This commit is contained in:
bunnei 2020-02-12 11:17:43 -05:00 committed by GitHub
commit 8f8dda2d5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -117,13 +117,13 @@ bool NullBackend::SynchronizeDirectory(TitleIDVersion title, std::string name,
} }
bool NullBackend::Clear(u64 title_id) { bool NullBackend::Clear(u64 title_id) {
LOG_DEBUG(Service_BCAT, "called, title_id={:016X}"); LOG_DEBUG(Service_BCAT, "called, title_id={:016X}", title_id);
return true; return true;
} }
void NullBackend::SetPassphrase(u64 title_id, const Passphrase& passphrase) { void NullBackend::SetPassphrase(u64 title_id, const Passphrase& passphrase) {
LOG_DEBUG(Service_BCAT, "called, title_id={:016X}, passphrase = {}", title_id, LOG_DEBUG(Service_BCAT, "called, title_id={:016X}, passphrase={}", title_id,
Common::HexToString(passphrase)); Common::HexToString(passphrase));
} }