mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Fix HiDPI loading logic.
This commit is contained in:
@ -84,7 +84,8 @@ QString Resources::GetImageFilename(QString name, QString dir)
|
||||
{
|
||||
if (qApp->devicePixelRatio() >= 2)
|
||||
{
|
||||
QString fileName = name.prepend(dir).append(SL("@2x.png"));
|
||||
QString fileName = name;
|
||||
fileName.prepend(dir).append(SL("@2x.png"));
|
||||
if (QFile::exists(fileName))
|
||||
return fileName;
|
||||
}
|
||||
|
Reference in New Issue
Block a user