1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 10:42:36 +01:00

overlays: only log actual input loop errors

This commit is contained in:
Megamouse 2022-04-20 18:32:30 +02:00
parent b29f106c51
commit 918984ee64
5 changed files with 28 additions and 7 deletions

View File

@ -218,7 +218,10 @@ namespace rsx
if (const auto error = run_input_loop())
{
rsx_log.error("Media dialog input loop exited with error code=%d", error);
if (error != selection_code::canceled)
{
rsx_log.error("Media list dialog input loop exited with error code=%d", error);
}
return error;
}

View File

@ -259,7 +259,10 @@ namespace rsx
{
if (const auto error = run_input_loop())
{
rsx_log.error("Dialog input loop exited with error code=%d", error);
if (error != selection_code::canceled)
{
rsx_log.error("Message dialog input loop exited with error code=%d", error);
}
return error;
}
}
@ -296,7 +299,10 @@ namespace rsx
if (const auto error = run_input_loop())
{
rsx_log.error("Dialog input loop exited with error code=%d", error);
if (error != selection_code::canceled)
{
rsx_log.error("Message dialog input loop exited with error code=%d", error);
}
}
}
else

View File

@ -1190,9 +1190,12 @@ namespace rsx
notify->notify_one();
if (const auto error = run_input_loop())
{
if (error != selection_code::canceled)
{
rsx_log.error("Osk input loop exited with error code=%d", error);
}
}
thread_bits &= ~tbit;
thread_bits.notify_all();

View File

@ -307,8 +307,14 @@ namespace rsx
visible = true;
if (const auto err = run_input_loop())
return err;
if (const auto error = run_input_loop())
{
if (error != selection_code::canceled)
{
rsx_log.error("Save dialog input loop exited with error code=%d", error);
}
return error;
}
if (return_code >= 0)
{

View File

@ -259,7 +259,10 @@ namespace rsx
if (const auto error = run_input_loop())
{
rsx_log.error("Dialog input loop exited with error code=%d", error);
if (error != selection_code::canceled)
{
rsx_log.error("User list dialog input loop exited with error code=%d", error);
}
}
thread_bits &= ~tbit;