cellGifDec, cellPngDec: small update

This commit is contained in:
Nekotekina 2015-06-13 21:16:19 +03:00
parent a77a75660b
commit 8c62a893a9
4 changed files with 121 additions and 159 deletions

View file

@ -119,16 +119,19 @@ void execute_ppu_func_by_index(PPUThread& CPU, u32 index)
if (old_last_syscall)
{
CPU.m_last_syscall = func->id;
throw "Unfortunately, this function cannot be called from the callback.";
}
if (!func->lle_func)
{
CPU.m_last_syscall = func->id;
throw "Wrong usage: LLE function not set.";
}
if (func->flags & MFF_FORCED_HLE)
{
CPU.m_last_syscall = func->id;
throw "Wrong usage: Forced HLE enabled.";
}
@ -139,6 +142,7 @@ void execute_ppu_func_by_index(PPUThread& CPU, u32 index)
if (index & EIF_PERFORM_BLR)
{
CPU.m_last_syscall = func->id;
throw "TODO: Branch with link";
// CPU.LR = CPU.PC + 4;
}