Misc: Remove StringUtil::{Starts,Ends}With, use C++20
This commit is contained in:
@ -775,7 +775,7 @@ bool MemoryCardImage::ImportSave(DataArray* data, const char* filename)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (StringUtil::EndsWith(filename, ".mcs"))
|
||||
if (std::string_view(filename).ends_with(".mcs"))
|
||||
{
|
||||
return ImportSaveWithDirectoryFrame(data, filename, sd);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user