mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
Minor fixes
- Fix a typo in OpenAL - Fix typo in cellHttp.h - Unused variables in catch - Use 64-bit shifts - Use use_count with shared pointers, unique is depracated and getting removed - Explicitly cast boolean to int - Signed/unsigned issues with loop variables - Fix missing return statement (the code path is unreachable, but compiler wants a return) - */ ouside of comment - Fix duplicate layout name
This commit is contained in:
parent
1e0289bcb2
commit
690cdff0d3
10 changed files with 14 additions and 13 deletions
|
@ -988,7 +988,7 @@ namespace vm
|
|||
continue;
|
||||
}
|
||||
|
||||
if (must_be_empty && (!it->unique() || (*it)->imp_used(lock)))
|
||||
if (must_be_empty && (it->use_count() != 1 || (*it)->imp_used(lock)))
|
||||
{
|
||||
return *it;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue