diff options
| author | Juan Linietsky | 2016-01-10 15:15:04 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-01-10 15:15:04 -0300 |
| commit | 52e53d45137eb5bc667db6323c79baebb1651b5b (patch) | |
| tree | ab5420d690b459550ed9c712397c59c4bff617e8 /drivers/unix/file_access_unix.cpp | |
| parent | 4fdab4f555f3f7e1d3b070244d88ce18c3282a15 (diff) | |
| download | godot-52e53d45137eb5bc667db6323c79baebb1651b5b.tar.gz godot-52e53d45137eb5bc667db6323c79baebb1651b5b.tar.zst godot-52e53d45137eb5bc667db6323c79baebb1651b5b.zip | |
Diffstat (limited to 'drivers/unix/file_access_unix.cpp')
| -rw-r--r-- | drivers/unix/file_access_unix.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/unix/file_access_unix.cpp b/drivers/unix/file_access_unix.cpp index 349831077..9f24633bd 100644 --- a/drivers/unix/file_access_unix.cpp +++ b/drivers/unix/file_access_unix.cpp @@ -74,6 +74,8 @@ Error FileAccessUnix::_open(const String& p_path, int p_mode_flags) { else if (p_mode_flags==WRITE) mode_string="wb"; else if (p_mode_flags==READ_WRITE) + mode_string="rb+"; + else if (p_mode_flags==WRITE_READ) mode_string="wb+"; else return ERR_INVALID_PARAMETER; |
