mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-05 20:24:01 +01:00
Return an int not a u32 for proper error check.
This commit is contained in:
1 parent
a53f8738d8
commit
f6482417ab
2 files changed
+2
-2
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::vector<u8> &data);
|
||||
int 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