mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 13:31:18 +12:00
Migrate force_log_printf to new logging (#714)
This commit is contained in:
parent
072c18a6e3
commit
4be57f4896
108 changed files with 401 additions and 399 deletions
|
@ -1035,7 +1035,7 @@ void MainWindow::OnDebugSetting(wxCommandEvent& event)
|
|||
catch (const std::exception& ex)
|
||||
{
|
||||
SystemException sys(ex);
|
||||
forceLog_printf("error when creating dump curl folder: %s", sys.what());
|
||||
cemuLog_log(LogType::Force, "error when creating dump curl folder: {}", sys.what());
|
||||
ActiveSettings::EnableDumpLibcurlRequests(false);
|
||||
}
|
||||
}
|
||||
|
@ -1092,7 +1092,7 @@ void MainWindow::OnDebugDumpUsedTextures(wxCommandEvent& event)
|
|||
catch (const std::exception& ex)
|
||||
{
|
||||
SystemException sys(ex);
|
||||
forceLog_printf("can't create texture dump folder: %s", ex.what());
|
||||
cemuLog_log(LogType::Force, "can't create texture dump folder: {}", ex.what());
|
||||
ActiveSettings::EnableDumpTextures(false);
|
||||
}
|
||||
}
|
||||
|
@ -1113,7 +1113,7 @@ void MainWindow::OnDebugDumpUsedShaders(wxCommandEvent& event)
|
|||
catch (const std::exception & ex)
|
||||
{
|
||||
SystemException sys(ex);
|
||||
forceLog_printf("can't create shaders dump folder: %s", ex.what());
|
||||
cemuLog_log(LogType::Force, "can't create shaders dump folder: {}", ex.what());
|
||||
ActiveSettings::EnableDumpShaders(false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue