mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 14:30:27 +02:00
Use ReadEntireFile() a few more places.
This fixes one or two minor memory leaks.
This commit is contained in:
1 parent
2d3f0758c1
commit
0636a65ad9
10 files changed
+105
-112
No files matched your search
@@ -106,7 +106,7 @@ public:
|
||||
// TODO: void IoCtl(...)
|
||||
|
||||
// Convenience helper - returns < 0 on failure.
|
||||
u32 ReadEntireFile(const std::string &filename, std::string &data);
|
||||
u32 ReadEntireFile(const std::string &filename, std::vector<u8> &data);
|
||||
|
||||
void SetStartingDirectory(const std::string &dir) {
|
||||
lock_guard guard(lock);
|
||||
|
||||
Reference in new issue
Block a user