EXPECTS usage removed

This commit is contained in:
Nekotekina 2016-08-15 16:29:38 +03:00
parent 56b9b38c9c
commit 84d0d396ed
27 changed files with 90 additions and 106 deletions

View file

@ -1319,7 +1319,7 @@ bool ppu_interpreter::VSPLTB(ppu_thread& ppu, ppu_opcode_t op)
bool ppu_interpreter::VSPLTH(ppu_thread& ppu, ppu_opcode_t op)
{
auto& d = ppu.vr[op.vd];
EXPECTS(op.vuimm < 8);
verify(HERE), (op.vuimm < 8);
u16 hword = ppu.vr[op.vb]._u16[7 - op.vuimm];
@ -1369,7 +1369,7 @@ bool ppu_interpreter::VSPLTISW(ppu_thread& ppu, ppu_opcode_t op)
bool ppu_interpreter::VSPLTW(ppu_thread& ppu, ppu_opcode_t op)
{
auto& d = ppu.vr[op.vd];
EXPECTS(op.vuimm < 4);
verify(HERE), (op.vuimm < 4);
u32 word = ppu.vr[op.vb]._u32[3 - op.vuimm];