mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Apply some Clang-Tidy fixes
This commit is contained in:
parent
c0fbf3091e
commit
93552a5958
34 changed files with 59 additions and 59 deletions
|
|
@ -749,7 +749,7 @@ void main_window::DecryptSPRXLibraries()
|
|||
if (elf_file)
|
||||
{
|
||||
const std::string bin_ext = module.toLower().endsWith(".sprx") ? ".prx" : ".elf";
|
||||
const std::string new_path = old_path.substr(0, old_path.find_last_of(".")) + bin_ext;
|
||||
const std::string new_path = old_path.substr(0, old_path.find_last_of('.')) + bin_ext;
|
||||
|
||||
if (fs::file new_file{new_path, fs::rewrite})
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue