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
|
@ -12,7 +12,7 @@ void spu_recompiler_base::enter(SPUThread& spu)
|
|||
{
|
||||
if (spu.pc >= 0x40000 || spu.pc % 4)
|
||||
{
|
||||
throw fmt::exception("Invalid PC: 0x%05x", spu.pc);
|
||||
fmt::throw_exception("Invalid PC: 0x%05x", spu.pc);
|
||||
}
|
||||
|
||||
// Get SPU LS pointer
|
||||
|
@ -37,7 +37,7 @@ void spu_recompiler_base::enter(SPUThread& spu)
|
|||
|
||||
spu.spu_rec->compile(*func);
|
||||
|
||||
if (!func->compiled) throw std::runtime_error("Compilation failed" HERE);
|
||||
if (!func->compiled) fmt::throw_exception("Compilation failed" HERE);
|
||||
}
|
||||
|
||||
const u32 res = func->compiled(&spu, _ls);
|
||||
|
@ -61,7 +61,7 @@ void spu_recompiler_base::enter(SPUThread& spu)
|
|||
{
|
||||
if (res & 0x8000000)
|
||||
{
|
||||
throw std::logic_error("Invalid interrupt status set" HERE);
|
||||
fmt::throw_exception("Invalid interrupt status set (0x%x)" HERE, res);
|
||||
}
|
||||
|
||||
spu.set_interrupt_status(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue