MetaFileSystem: Turn another argument into string_view

This commit is contained in:
Henrik Rydgård committed 2026-02-25 00:52:25 +01:00
1 parent 22bfa0087c
commit b7ad74d309
12 files changed
+28 -26

No files matched your search

+2 -2
View File
@@ -32,7 +32,7 @@ public:
~ISOFileSystem();
void DoState(PointerWrap &p) override;
std::vector<PSPFileInfo> GetDirListing(const std::string &path, bool *exists = nullptr) override;
std::vector<PSPFileInfo> GetDirListing(std::string_view path, bool *exists = nullptr) override;
int OpenFile(std::string filename, FileAccess access, const char *devicename = nullptr) override;
void CloseFile(u32 handle) override;
size_t ReadFile(u32 handle, u8 *pointer, s64 size) override;
@@ -114,7 +114,7 @@ public:
isoFileSystem_->DoState(p);
}
std::vector<PSPFileInfo> GetDirListing(const std::string &path, bool *exists = nullptr) override {
std::vector<PSPFileInfo> GetDirListing(std::string_view path, bool *exists = nullptr) override {
if (exists)
*exists = true;
return std::vector<PSPFileInfo>();