mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +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
|
@ -201,7 +201,7 @@ namespace rsx
|
|||
|
||||
const u32 addr = rsx->iomap_table.get_addr(0xf100000 + (index * 0x40));
|
||||
|
||||
verify(HERE), addr != umax;
|
||||
ensure(addr != umax);
|
||||
|
||||
vm::_ref<atomic_t<RsxNotify>>(addr).store(
|
||||
{
|
||||
|
@ -267,7 +267,7 @@ namespace rsx
|
|||
static const size_t vertex_subreg = index % increment_per_array_index;
|
||||
|
||||
const auto vtype = vertex_data_type_from_element_type<type>::type;
|
||||
verify(HERE), vtype != rsx::vertex_base_type::cmp;
|
||||
ensure(vtype != rsx::vertex_base_type::cmp);
|
||||
|
||||
switch (vtype)
|
||||
{
|
||||
|
@ -1592,7 +1592,7 @@ namespace rsx
|
|||
|
||||
void flip_command(thread* rsx, u32, u32 arg)
|
||||
{
|
||||
verify(HERE), rsx->isHLE;
|
||||
ensure(rsx->isHLE);
|
||||
rsx->reset();
|
||||
rsx->request_emu_flip(arg);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue