summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-08-03 17:56:44 +0200
committerZach Hilman <zachhilman@gmail.com>2018-08-09 03:18:45 +0200
commitdad2ae1ee01b42bb6bb8a903c856712fc2bffa37 (patch)
tree0a49467e661776c20bb82b36732cdca8fa2b19b6
parentvfs: Use RealVfsFilesystem for fs-operations in RealVfsDirectory (diff)
downloadyuzu-dad2ae1ee01b42bb6bb8a903c856712fc2bffa37.tar
yuzu-dad2ae1ee01b42bb6bb8a903c856712fc2bffa37.tar.gz
yuzu-dad2ae1ee01b42bb6bb8a903c856712fc2bffa37.tar.bz2
yuzu-dad2ae1ee01b42bb6bb8a903c856712fc2bffa37.tar.lz
yuzu-dad2ae1ee01b42bb6bb8a903c856712fc2bffa37.tar.xz
yuzu-dad2ae1ee01b42bb6bb8a903c856712fc2bffa37.tar.zst
yuzu-dad2ae1ee01b42bb6bb8a903c856712fc2bffa37.zip
-rw-r--r--src/core/loader/loader.cpp4
-rw-r--r--src/core/loader/loader.h8
2 files changed, 0 insertions, 12 deletions
diff --git a/src/core/loader/loader.cpp b/src/core/loader/loader.cpp
index 0781fb8c1..a288654df 100644
--- a/src/core/loader/loader.cpp
+++ b/src/core/loader/loader.cpp
@@ -43,10 +43,6 @@ FileType IdentifyFile(FileSys::VirtualFile file) {
return FileType::Unknown;
}
-FileType IdentifyFile(const std::string& file_name) {
- return IdentifyFile(std::make_shared<FileSys::RealVfsFile>(file_name));
-}
-
FileType GuessFromFilename(const std::string& name) {
if (name == "main")
return FileType::DeconstructedRomDirectory;
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h
index 7bd0adedb..6a9e5a68b 100644
--- a/src/core/loader/loader.h
+++ b/src/core/loader/loader.h
@@ -43,14 +43,6 @@ enum class FileType {
FileType IdentifyFile(FileSys::VirtualFile file);
/**
- * Identifies the type of a bootable file based on the magic value in its header.
- * @param file_name path to file
- * @return FileType of file. Note: this will return FileType::Unknown if it is unable to determine
- * a filetype, and will never return FileType::Error.
- */
-FileType IdentifyFile(const std::string& file_name);
-
-/**
* Guess the type of a bootable file from its name
* @param name String name of bootable file
* @return FileType of file. Note: this will return FileType::Unknown if it is unable to determine