summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/archive.h
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2014-12-15 05:44:04 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2014-12-16 04:08:42 +0100
commitf6153679b0781eea084b22f3ceecc74b1fe6b018 (patch)
treeaa8d86cb2a525630c3abf95cfaa658e3fd634516 /src/core/file_sys/archive.h
parentHLE: Rename namespaces to match move & fix initialization order (diff)
downloadyuzu-f6153679b0781eea084b22f3ceecc74b1fe6b018.tar
yuzu-f6153679b0781eea084b22f3ceecc74b1fe6b018.tar.gz
yuzu-f6153679b0781eea084b22f3ceecc74b1fe6b018.tar.bz2
yuzu-f6153679b0781eea084b22f3ceecc74b1fe6b018.tar.lz
yuzu-f6153679b0781eea084b22f3ceecc74b1fe6b018.tar.xz
yuzu-f6153679b0781eea084b22f3ceecc74b1fe6b018.tar.zst
yuzu-f6153679b0781eea084b22f3ceecc74b1fe6b018.zip
Diffstat (limited to 'src/core/file_sys/archive.h')
-rw-r--r--src/core/file_sys/archive.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/core/file_sys/archive.h b/src/core/file_sys/archive.h
index 27ed23cd0..b7978bfbe 100644
--- a/src/core/file_sys/archive.h
+++ b/src/core/file_sys/archive.h
@@ -162,25 +162,12 @@ private:
class Archive : NonCopyable {
public:
- /// Supported archive types
- enum class IdCode : u32 {
- RomFS = 0x00000003,
- SaveData = 0x00000004,
- ExtSaveData = 0x00000006,
- SharedExtSaveData = 0x00000007,
- SystemSaveData = 0x00000008,
- SDMC = 0x00000009,
- SDMCWriteOnly = 0x0000000A,
- };
-
- Archive() { }
virtual ~Archive() { }
/**
- * Get the IdCode of the archive (e.g. RomFS, SaveData, etc.)
- * @return IdCode of the archive
+ * Get a descriptive name for the archive (e.g. "RomFS", "SaveData", etc.)
*/
- virtual IdCode GetIdCode() const = 0;
+ virtual std::string GetName() const = 0;
/**
* Open a file specified by its path, using the specified mode