mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 02:08:49 +12:00
EXCEPTION macro removed
fmt::throw_exception<> implemented ::narrow improved Minor fixes
This commit is contained in:
parent
46735d6b3d
commit
a7e808b35b
198 changed files with 3025 additions and 2956 deletions
|
@ -159,7 +159,7 @@ s32 sys_mutex_lock(ppu_thread& ppu, u32 mutex_id, u64 timeout)
|
|||
// new owner must be set when unlocked
|
||||
if (mutex->owner.get() != &ppu)
|
||||
{
|
||||
throw EXCEPTION("Unexpected mutex owner");
|
||||
fmt::throw_exception("Unexpected mutex owner" HERE);
|
||||
}
|
||||
|
||||
return CELL_OK;
|
||||
|
@ -230,7 +230,7 @@ s32 sys_mutex_unlock(ppu_thread& ppu, u32 mutex_id)
|
|||
{
|
||||
if (!mutex->recursive)
|
||||
{
|
||||
throw EXCEPTION("Unexpected recursive_count");
|
||||
fmt::throw_exception("Unexpected recursive_count" HERE);
|
||||
}
|
||||
|
||||
mutex->recursive_count--;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue