mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00: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
|
|
@ -177,7 +177,7 @@ error_code cellHddGameCheck(ppu_thread& ppu, u32 version, vm::cptr<char> dirName
|
|||
std::string game_dir = dirName.get_ptr();
|
||||
|
||||
// TODO: Find error code
|
||||
verify(HERE), game_dir.size() == 9;
|
||||
ensure(game_dir.size() == 9);
|
||||
|
||||
const std::string dir = "/dev_hdd0/game/" + game_dir;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue