overlays: only log actual input loop errors
This commit is contained in:
@@ -218,7 +218,10 @@ namespace rsx
|
|||||||
|
|
||||||
if (const auto error = run_input_loop())
|
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;
|
return error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -259,7 +259,10 @@ namespace rsx
|
|||||||
{
|
{
|
||||||
if (const auto error = run_input_loop())
|
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;
|
return error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -296,7 +299,10 @@ namespace rsx
|
|||||||
|
|
||||||
if (const auto error = run_input_loop())
|
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
|
else
|
||||||
|
|||||||
@@ -1191,7 +1191,10 @@ namespace rsx
|
|||||||
|
|
||||||
if (const auto error = run_input_loop())
|
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;
|
thread_bits &= ~tbit;
|
||||||
|
|||||||
@@ -307,8 +307,14 @@ namespace rsx
|
|||||||
|
|
||||||
visible = true;
|
visible = true;
|
||||||
|
|
||||||
if (const auto err = run_input_loop())
|
if (const auto error = run_input_loop())
|
||||||
return err;
|
{
|
||||||
|
if (error != selection_code::canceled)
|
||||||
|
{
|
||||||
|
rsx_log.error("Save dialog input loop exited with error code=%d", error);
|
||||||
|
}
|
||||||
|
return error;
|
||||||
|
}
|
||||||
|
|
||||||
if (return_code >= 0)
|
if (return_code >= 0)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -259,7 +259,10 @@ namespace rsx
|
|||||||
|
|
||||||
if (const auto error = run_input_loop())
|
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;
|
thread_bits &= ~tbit;
|
||||||
|
|||||||
Reference in New Issue
Block a user