1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

[Web] Fix DirAccess::unlink() not updating the IDBFS

This commit is contained in:
Adam Scott
2024-12-09 17:25:53 -05:00
parent aa8d9b83f6
commit a6c5373a09
6 changed files with 31 additions and 5 deletions

View File

@@ -38,8 +38,6 @@
#if defined(UNIX_ENABLED)
typedef void (*CloseNotificationFunc)(const String &p_file, int p_flags);
class FileAccessUnix : public FileAccess {
FILE *f = nullptr;
int flags = 0;
@@ -56,6 +54,7 @@ class FileAccessUnix : public FileAccess {
#endif
public:
typedef void (*CloseNotificationFunc)(const String &p_file, int p_flags);
static CloseNotificationFunc close_notification_func;
virtual Error open_internal(const String &p_path, int p_mode_flags) override; ///< open a file