Fixed file services serialization
This commit is contained in:
parent
c24ea0f0ee
commit
2217b3558d
6 changed files with 26 additions and 14 deletions
|
@ -306,7 +306,7 @@ public:
|
|||
}
|
||||
|
||||
private:
|
||||
bool Open(const std::string& filename, const char openmode[], int flags = 0);
|
||||
bool Open();
|
||||
|
||||
std::FILE* m_file = nullptr;
|
||||
bool m_good = true;
|
||||
|
@ -330,6 +330,7 @@ private:
|
|||
ar >> flags;
|
||||
u64 pos;
|
||||
ar >> pos;
|
||||
Open();
|
||||
Seek(pos, SEEK_SET);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue