minor optimization: avoid opening a file twice when its full contents are read.

This commit is contained in:
Sasha Szpakowski
2024-12-19 18:18:41 -04:00
parent 58de1b43fb
commit 850e721be2
2 changed files with 6 additions and 2 deletions
+2
View File
@@ -47,6 +47,8 @@ public:
static love::Type type;
static const int64 SIZE_ALL = -1;
/**
* File open mode.
**/