mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-21 18:29:05 +02:00
MetaFileSystem: Turn another argument into string_view
This commit is contained in:
1 parent
22bfa0087c
commit
b7ad74d309
12 files changed
+28
-26
No files matched your search
@@ -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>();
|
||||
|
||||
Reference in new issue
Block a user