mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
overlays: only log actual input loop errors
This commit is contained in:
parent
b29f106c51
commit
918984ee64
5 changed files with 28 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1191,7 +1191,10 @@ namespace rsx
|
|||
|
||||
if (const auto error = run_input_loop())
|
||||
{
|
||||
rsx_log.error("Osk input loop exited with error code=%d", error);
|
||||
if (error != selection_code::canceled)
|
||||
{
|
||||
rsx_log.error("Osk input loop exited with error code=%d", error);
|
||||
}
|
||||
}
|
||||
|
||||
thread_bits &= ~tbit;
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue