Migrate force_log_printf to new logging (#714)

This commit is contained in:
why-keith 2023-04-12 15:31:34 +01:00 committed by GitHub
parent 072c18a6e3
commit 4be57f4896
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
108 changed files with 401 additions and 399 deletions

View file

@ -322,7 +322,7 @@ namespace iosu
forceLogDebug_printf("sslctx_function: adding ca cert: %d", (int)task_settings->settings[location]);
if (!iosuCrypto_addCACertificate(sslctx, task_settings->settings[location]))
{
forceLog_printf("Failed to load CA certificate file");
cemuLog_log(LogType::Force, "Failed to load CA certificate file");
assert_dbg();
}
}
@ -334,13 +334,13 @@ namespace iosu
{
if (!iosuCrypto_addCACertificate(sslctx, 105))
{
forceLog_printf("Failed to load certificate file");
cemuLog_log(LogType::Force, "Failed to load certificate file");
assert_dbg();
}
if (!iosuCrypto_addClientCertificate(sslctx, 3))
{
forceLog_printf("Failed to load client certificate file");
cemuLog_log(LogType::Force, "Failed to load client certificate file");
assert_dbg();
}
}