bs_t<>: fix/cleanup some operators

This commit is contained in:
Nekotekina 2021-04-17 15:39:13 +03:00
parent 896db3806d
commit 9d4fcbf946
4 changed files with 56 additions and 91 deletions

View file

@ -100,7 +100,7 @@ error_code _sys_interrupt_thread_establish(ppu_thread& ppu, vm::ptr<u32> ih, u32
}
// If interrupt thread is running, it's already established on another interrupt tag
if (!(it->state & cpu_flag::stop))
if (cpu_flag::stop - it->state)
{
error = CELL_EAGAIN;
return result;