mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 13:01:27 +12:00
Loader: split add_only into own function
The new code does not require any modifications apart from loading vfs
This commit is contained in:
parent
f080798000
commit
ad5a62b62d
9 changed files with 217 additions and 108 deletions
|
@ -599,7 +599,7 @@ std::string fmt::trim(const std::string& source, const std::string& values)
|
|||
return source.substr(begin, source.find_last_not_of(values) + 1);
|
||||
}
|
||||
|
||||
std::string fmt::to_upper(const std::string& string)
|
||||
std::string fmt::to_upper(std::string_view string)
|
||||
{
|
||||
std::string result;
|
||||
result.resize(string.size());
|
||||
|
@ -607,7 +607,7 @@ std::string fmt::to_upper(const std::string& string)
|
|||
return result;
|
||||
}
|
||||
|
||||
std::string fmt::to_lower(const std::string& string)
|
||||
std::string fmt::to_lower(std::string_view string)
|
||||
{
|
||||
std::string result;
|
||||
result.resize(string.size());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue