Misc: Pass string_view by value
This commit is contained in:
@ -1621,7 +1621,7 @@ std::string Settings::GetSharedMemoryCardPath(u32 slot) const
|
||||
return ret;
|
||||
}
|
||||
|
||||
std::string Settings::GetGameMemoryCardPath(const std::string_view& serial, u32 slot)
|
||||
std::string Settings::GetGameMemoryCardPath(std::string_view serial, u32 slot)
|
||||
{
|
||||
return Path::Combine(EmuFolders::MemoryCards, fmt::format("{}_{}.mcd", serial, slot + 1));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user