mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Fix icon reading bug in GameInfoCache
This commit is contained in:
@@ -366,7 +366,7 @@ static bool ReadFileToString(IFileSystem *fs, const char *filename, std::string
|
||||
|
||||
static bool ReadLocalFileToString(const Path &path, std::string *contents, std::mutex *mtx) {
|
||||
std::string data;
|
||||
if (!File::ReadFileToString(false, path, *contents)) {
|
||||
if (!File::ReadFileToString(false, path, data)) {
|
||||
return false;
|
||||
}
|
||||
if (mtx) {
|
||||
|
||||
Reference in New Issue
Block a user