mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-25 09:09:49 +00:00
Fix unknown.png issues properly this time :P
This commit is contained in:
parent
5d1fff328f
commit
3216410ac8
@ -184,6 +184,7 @@ public:
|
||||
} else {
|
||||
// Read standard icon
|
||||
size_t sz;
|
||||
INFO_LOG(HLE, "Loading unknown.png because a PBP was missing an icon");
|
||||
uint8_t *contents = VFSReadFile("unknown.png", &sz);
|
||||
if (contents) {
|
||||
lock_guard lock(info_->lock);
|
||||
@ -210,8 +211,9 @@ public:
|
||||
{
|
||||
// Read standard icon
|
||||
size_t sz;
|
||||
uint8_t *contents = VFSReadFile("assets/unknown.png", &sz);
|
||||
{
|
||||
uint8_t *contents = VFSReadFile("unknown.png", &sz);
|
||||
INFO_LOG(HLE, "Loading unknown.png because there was an ELF");
|
||||
if (contents) {
|
||||
lock_guard lock(info_->lock);
|
||||
info_->iconTextureData = std::string((const char *)contents, sz);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user