Loaders: Rename Path() to GetPath().

Path is going to be a struct name.
This commit is contained in:
Henrik Rydgård authored and Unknown W. Brackets committed 2021-05-09 17:10:14 -07:00
1 parent 96c109e6ce
commit 9480b6672b
15 files changed
+32 -32

No files matched your search

+3 -3
View File
@@ -84,7 +84,7 @@ void InitMemoryForGameISO(FileLoader *fileLoader) {
IFileSystem *blockSystem = nullptr;
if (fileLoader->IsDirectory()) {
fileSystem = new VirtualDiscFileSystem(&pspFileSystem, fileLoader->Path());
fileSystem = new VirtualDiscFileSystem(&pspFileSystem, fileLoader->GetPath());
blockSystem = fileSystem;
} else {
auto bd = constructBlockDevice(fileLoader);
@@ -152,7 +152,7 @@ bool ReInitMemoryForGameISO(FileLoader *fileLoader) {
IFileSystem *blockSystem = nullptr;
if (fileLoader->IsDirectory()) {
fileSystem = new VirtualDiscFileSystem(&pspFileSystem, fileLoader->Path());
fileSystem = new VirtualDiscFileSystem(&pspFileSystem, fileLoader->GetPath());
blockSystem = fileSystem;
} else {
auto bd = constructBlockDevice(fileLoader);
@@ -371,7 +371,7 @@ bool Load_PSP_ELF_PBP(FileLoader *fileLoader, std::string *error_string) {
}
}
std::string full_path = fileLoader->Path();
std::string full_path = fileLoader->GetPath();
std::string path, file, extension;
SplitPath(ReplaceAll(full_path, "\\", "/"), &path, &file, &extension);