Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
37a2a5a9
Commit
37a2a5a9
authored
Jun 19, 2020
by
Andy Maloney
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensure FileAccessBuffered structs are properly initialized
parent
86878160
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
file_access_buffered.h
core/io/file_access_buffered.h
+5
-5
No files found.
core/io/file_access_buffered.h
View file @
37a2a5a9
...
...
@@ -51,16 +51,16 @@ protected:
Error
set_error
(
Error
p_error
)
const
;
mutable
struct
File
{
bool
open
;
int
size
;
int
offset
;
bool
open
=
false
;
int
size
=
0
;
int
offset
=
0
;
String
name
;
int
access_flags
;
int
access_flags
=
0
;
}
file
;
mutable
struct
Cache
{
Vector
<
uint8_t
>
buffer
;
int
offset
;
int
offset
=
0
;
}
cache
;
virtual
int
read_data_block
(
int
p_offset
,
int
p_size
,
uint8_t
*
p_dest
=
nullptr
)
const
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment