mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Reduce logspam from fonts, and a less angry error message for missing textures.zip.
This commit is contained in:
1 parent
8484dd4917
commit
66d2fb2aa4
6 files changed
+29
-15
No files matched your search
@@ -581,8 +581,12 @@ size_t MetaFileSystem::SeekFile(u32 handle, s32 position, FileMove type)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int MetaFileSystem::ReadEntireFile(const std::string &filename, std::vector<u8> &data) {
|
||||
int handle = OpenFile(filename, FILEACCESS_READ);
|
||||
int MetaFileSystem::ReadEntireFile(const std::string &filename, std::vector<u8> &data, bool quiet) {
|
||||
FileAccess access = FILEACCESS_READ;
|
||||
if (quiet) {
|
||||
access = (FileAccess)(access | FILEACCESS_PPSSPP_QUIET);
|
||||
}
|
||||
int handle = OpenFile(filename, access);
|
||||
if (handle < 0)
|
||||
return handle;
|
||||
|
||||
|
||||
Reference in new issue
Block a user