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
|
@ -1074,7 +1074,7 @@ game_boot_result Emulator::Load(const std::string& title_id, bool add_only, bool
|
|||
|
||||
// Force lib loading mode
|
||||
g_cfg.core.lib_loading.from_string("Manually load selected libraries");
|
||||
verify(HERE), g_cfg.core.lib_loading == lib_loading_type::manual;
|
||||
ensure(g_cfg.core.lib_loading == lib_loading_type::manual);
|
||||
g_cfg.core.load_libraries.from_default();
|
||||
|
||||
// Fake arg (workaround)
|
||||
|
@ -1180,7 +1180,7 @@ game_boot_result Emulator::Load(const std::string& title_id, bool add_only, bool
|
|||
else
|
||||
{
|
||||
// Workaround for analyser glitches
|
||||
verify(HERE), vm::falloc(0x10000, 0xf0000, vm::main);
|
||||
ensure(vm::falloc(0x10000, 0xf0000, vm::main));
|
||||
}
|
||||
|
||||
atomic_t<std::size_t> fnext = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue