summaryrefslogtreecommitdiff
path: root/core/os/os.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-04-27 14:29:21 +0200
committerGitHub <noreply@github.com>2022-04-27 14:29:21 +0200
commit504708ae21b9722ddbf33a2d557a6a9ed0d70855 (patch)
treedaecd7e3170d2bc4f912f990485ca2359f86ea78 /core/os/os.cpp
parent3e9ead05f2e87e46b5982cc9a140e172ee98c227 (diff)
parentc0cc41d6c1bb7b9fb4897debb15f1f083d3c1d02 (diff)
Merge pull request #56093 from bruvzg/pck_section_load
Improve embedded PCK loading and exporting.
Diffstat (limited to 'core/os/os.cpp')
-rw-r--r--core/os/os.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/os/os.cpp b/core/os/os.cpp
index 846aeb16c5..4f7095b0fc 100644
--- a/core/os/os.cpp
+++ b/core/os/os.cpp
@@ -237,6 +237,11 @@ String OS::get_locale_language() const {
return get_locale().left(3).replace("_", "");
}
+// Embedded PCK offset.
+uint64_t OS::get_embedded_pck_offset() const {
+ return 0;
+}
+
// Helper function to ensure that a dir name/path will be valid on the OS
String OS::get_safe_dir_name(const String &p_dir_name, bool p_allow_dir_separator) const {
Vector<String> invalid_chars = String(": * ? \" < > |").split(" ");