mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07:00
Reduce logspam from fonts, and a less angry error message for missing textures.zip.
This commit is contained in:
@@ -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