mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 09:48:37 +12:00
Replace verify() with ensure() with auto src location.
Expression ensure(x) returns x. Using comma operator removed.
This commit is contained in:
parent
38745e5782
commit
e055d16b2c
121 changed files with 693 additions and 690 deletions
|
@ -2162,7 +2162,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];
|
||||
verify(HERE), (op.vuimm < 8);
|
||||
ensure((op.vuimm < 8));
|
||||
|
||||
u16 hword = ppu.vr[op.vb]._u16[7 - op.vuimm];
|
||||
|
||||
|
@ -2212,7 +2212,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];
|
||||
verify(HERE), (op.vuimm < 4);
|
||||
ensure((op.vuimm < 4));
|
||||
|
||||
u32 word = ppu.vr[op.vb]._u32[3 - op.vuimm];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue