Introduce Path, start using it all over the place.

Still lots left to convert!

Convert GetSysDirectory to return Path.

More buildfixing

Remove unnecessary Path( constructors
This commit is contained in:
Henrik Rydgård committed 2021-05-13 10:39:16 +02:00
1 parent 2987b8c17a
commit 025bcb1673
123 files changed
+1321 -949

No files matched your search

+1 -1
View File
@@ -182,7 +182,7 @@ void ISOFileSystem::ReadDirectory(TreeEntry *root) {
u8 theSector[2048];
if (!blockDevice->ReadBlock(secnum, theSector)) {
blockDevice->NotifyReadError();
ERROR_LOG(FILESYS, "Error reading block for directory %s - skipping", root->name.c_str());
ERROR_LOG(FILESYS, "Error reading block for directory '%s' in sector %d - skipping", root->name.c_str(), secnum);
root->valid = true; // Prevents re-reading
return;
}