mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 21:32:50 +00:00
kernel-explorer: Fix lwmutex owner display
This commit is contained in:
parent
92d65ff3c2
commit
05364908f3
@ -382,14 +382,18 @@ void kernel_explorer::Update()
|
||||
switch (const u32 owner = lwm_data.vars.owner)
|
||||
{
|
||||
case lwmutex_free: owner_str = "free"; break;
|
||||
//case lwmutex_dead: owner_str = "dead"; break;
|
||||
case lwmutex_dead: owner_str = "dead"; break;
|
||||
case lwmutex_reserved: owner_str = "reserved"; break;
|
||||
default:
|
||||
{
|
||||
if (owner >= ppu_thread::id_base && owner <= ppu_thread::id_base + ppu_thread::id_step - 1)
|
||||
if (owner >= ppu_thread::id_base && owner <= ppu_thread::id_base + ppu_thread::id_count - 1)
|
||||
{
|
||||
owner_str = fmt::format("0x%x", owner);
|
||||
}
|
||||
else
|
||||
{
|
||||
fmt::append(owner_str, " (0x%x)", owner);
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user