Merge pull request #6408 from leoetlino/master

IOS: Fix regression affecting BC launch
This commit is contained in:
JosJuice 2018-02-27 18:24:01 +01:00 committed by GitHub
commit 83ac16060e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -380,6 +380,9 @@ bool HasFeature(u32 major_version, Feature feature)
bool IsEmulated(u32 major_version)
{
if (major_version == static_cast<u32>(Titles::BC & 0xffffffff))
return true;
return std::any_of(
ios_memory_values.begin(), ios_memory_values.end(),
[major_version](const MemoryValues& values) { return values.ios_number == major_version; });