summaryrefslogtreecommitdiff
path: root/core/io
diff options
context:
space:
mode:
Diffstat (limited to 'core/io')
-rw-r--r--core/io/file_access_pack.cpp4
-rw-r--r--core/io/file_access_pack.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/core/io/file_access_pack.cpp b/core/io/file_access_pack.cpp
index 43fedc5238..c97b8cafac 100644
--- a/core/io/file_access_pack.cpp
+++ b/core/io/file_access_pack.cpp
@@ -490,6 +490,10 @@ size_t DirAccessPack::get_space_left() {
return 0;
}
+String DirAccessPack::get_filesystem_type() const {
+ return "PCK";
+}
+
DirAccessPack::DirAccessPack() {
current = PackedData::get_singleton()->root;
diff --git a/core/io/file_access_pack.h b/core/io/file_access_pack.h
index 04610bed57..ae5e83d405 100644
--- a/core/io/file_access_pack.h
+++ b/core/io/file_access_pack.h
@@ -221,6 +221,9 @@ public:
size_t get_space_left();
+ virtual String get_filesystem_type() const;
+
+
DirAccessPack();
~DirAccessPack();
};