mirror of https://github.com/mgba-emu/mgba.git
Core: Fix mCoreIsCompatible on null vf
This commit is contained in:
parent
27e7837fa1
commit
a1daf63cdb
|
@ -62,7 +62,7 @@ struct mCore* mCoreFindVF(struct VFile* vf) {
|
|||
|
||||
enum mPlatform mCoreIsCompatible(struct VFile* vf) {
|
||||
if (!vf) {
|
||||
return false;
|
||||
return PLATFORM_NONE;
|
||||
}
|
||||
const struct mCoreFilter* filter;
|
||||
for (filter = &_filters[0]; filter->filter; ++filter) {
|
||||
|
|
Loading…
Reference in New Issue