Service.FS: Rename FileSys::File to FileBackend

This commit is contained in:
Yuri Kunde Schlesner
2014-12-15 05:03:17 -02:00
parent d51afab0bc
commit 0931a42af0
10 changed files with 17 additions and 17 deletions

View File

@ -49,12 +49,12 @@ bool Archive_SDMC::Initialize() {
* @param mode Mode to open the file with
* @return Opened file, or nullptr
*/
std::unique_ptr<File> Archive_SDMC::OpenFile(const Path& path, const Mode mode) const {
std::unique_ptr<FileBackend> Archive_SDMC::OpenFile(const Path& path, const Mode mode) const {
LOG_DEBUG(Service_FS, "called path=%s mode=%u", path.DebugStr().c_str(), mode.hex);
File_SDMC* file = new File_SDMC(this, path, mode);
if (!file->Open())
return nullptr;
return std::unique_ptr<File>(file);
return std::unique_ptr<FileBackend>(file);
}
/**