Report fixup

This commit is contained in:
Nekotekina 2017-02-05 03:06:05 +03:00
parent ec943b38a2
commit cb1f30e9d2

View file

@ -511,20 +511,16 @@ s32 error_code::error_report(const fmt_type_info* sup, u64 arg)
// Filter some annoying reports // Filter some annoying reports
switch (arg) switch (arg)
{ {
case CELL_ESRCH:
case CELL_EDEADLK: case CELL_EDEADLK:
{ {
if (ppu.m_name == "_cellsurMixerMain" && std::memcmp(ppu.last_function, "sys_mutex_lock", 15) == 0) if (ppu.m_name == "_cellsurMixerMain" || ppu.m_name == "_sys_MixerChStripMain")
{
if (std::memcmp(ppu.last_function, "sys_mutex_lock", 15) == 0 ||
std::memcmp(ppu.last_function, "sys_lwmutex_lock", 17) == 0)
{ {
level = logs::level::trace; level = logs::level::trace;
} }
break;
}
case CELL_ESRCH:
{
if (ppu.m_name == "_sys_MixerChStripMain" && std::memcmp(ppu.last_function, "sys_lwmutex_lock", 17) == 0)
{
level = logs::level::trace;
} }
break; break;