kernel-explorer: Account for PPU IDs invalidation in lwmutex

This commit is contained in:
Eladash 2020-09-16 14:49:33 +03:00 committed by Megamouse
parent 05364908f3
commit 0eb739756e
1 changed files with 1 additions and 1 deletions

View File

@ -386,7 +386,7 @@ void kernel_explorer::Update()
case lwmutex_reserved: owner_str = "reserved"; break;
default:
{
if (owner >= ppu_thread::id_base && owner <= ppu_thread::id_base + ppu_thread::id_count - 1)
if (idm::check_unlocked<named_thread<ppu_thread>>(owner))
{
owner_str = fmt::format("0x%x", owner);
}