mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix library loading rejecting non-GBA games (fixes #2175)
This commit is contained in:
parent
c6aa7c6673
commit
dc40ef7cb8
|
@ -106,6 +106,7 @@ VFile* LibraryController::selectedVFile() {
|
|||
QByteArray filenameUtf8(entry.filename.toUtf8());
|
||||
libentry.base = baseUtf8.constData();
|
||||
libentry.filename = filenameUtf8.constData();
|
||||
libentry.platform = mPLATFORM_NONE;
|
||||
return mLibraryOpenVFile(m_library.get(), &libentry);
|
||||
} else {
|
||||
return nullptr;
|
||||
|
|
Loading…
Reference in New Issue