mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-10 08:51:19 +12:00
Remove deprecated logging system and expose developer logging window (#825)
This commit is contained in:
parent
b8dec03cb5
commit
d903b2cf12
47 changed files with 148 additions and 283 deletions
|
@ -607,7 +607,7 @@ namespace iosu
|
|||
if (!fscFile)
|
||||
return (FSStatus)FS_RESULT::ERR_PLACEHOLDER;
|
||||
#ifdef CEMU_DEBUG_ASSERT
|
||||
cemuLog_force("FSAProcessCmd_appendFile(): size 0x{:08x} count 0x{:08x} (todo)\n", _swapEndianU32(cmd->cmdAppendFile.size), _swapEndianU32(cmd->cmdAppendFile.count));
|
||||
cemuLog_log(LogType::Force, "FSAProcessCmd_appendFile(): size 0x{:08x} count 0x{:08x} (todo)\n", _swapEndianU32(cmd->cmdAppendFile.size), _swapEndianU32(cmd->cmdAppendFile.count));
|
||||
#endif
|
||||
return _swapEndianU32(cmd->cmdAppendFile.size) * _swapEndianU32(cmd->cmdAppendFile.count);
|
||||
}
|
||||
|
|
|
@ -113,7 +113,7 @@ void iosuAct_loadAccounts()
|
|||
// }
|
||||
//}
|
||||
|
||||
cemuLog_force(L"IOSU_ACT: using account {} in first slot", first_acc.GetMiiName());
|
||||
cemuLog_log(LogType::Force, L"IOSU_ACT: using account {} in first slot", first_acc.GetMiiName());
|
||||
|
||||
_actAccountDataInitialized = true;
|
||||
}
|
||||
|
|
|
@ -367,7 +367,7 @@ namespace iosu
|
|||
bool parse_xml_content(Task& task)
|
||||
{
|
||||
tinyxml2::XMLDocument doc;
|
||||
//cafeLog_writeLineToLog((char*)task.result_buffer.data());
|
||||
//cemuLog_log(LogType::Force, (char*)task.result_buffer.data());
|
||||
if (doc.Parse((const char*)task.result_buffer.data(), task.processed_length) != tinyxml2::XML_SUCCESS)
|
||||
return false;
|
||||
|
||||
|
|
|
@ -326,12 +326,12 @@ bool iosuCrypto_loadCertificate(uint32 id, std::wstring_view mlcSubpath, std::ws
|
|||
pkeyData = FileStream::LoadIntoMemory(pkeyPath);
|
||||
if (!pkeyData || pkeyData->empty())
|
||||
{
|
||||
cemuLog_force("Unable to load private key file {}", pkeyPath.generic_string());
|
||||
cemuLog_log(LogType::Force, "Unable to load private key file {}", pkeyPath.generic_string());
|
||||
return false;
|
||||
}
|
||||
else if ((pkeyData->size() % 16) != 0)
|
||||
{
|
||||
cemuLog_force("Private key file has invalid length. Possibly corrupted? File: {}", pkeyPath.generic_string());
|
||||
cemuLog_log(LogType::Force, "Private key file has invalid length. Possibly corrupted? File: {}", pkeyPath.generic_string());
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -58,7 +58,7 @@ namespace iosu
|
|||
return false;
|
||||
if (versionListVersionResult.fqdnURL.size() >= 256)
|
||||
{
|
||||
cemuLog_force("NIM: fqdn URL too long");
|
||||
cemuLog_log(LogType::Force, "NIM: fqdn URL too long");
|
||||
return false;
|
||||
}
|
||||
g_nim.latestVersion = (sint32)versionListVersionResult.version;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue