IOS: Fix regression affecting BC launch

8e06257f19 caused Dolphin not to consider BC as emulated anymore.
This commit is contained in:
Léo Lam 2018-02-27 16:28:45 +01:00
parent 5cdf496a94
commit 9282be1058
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) bool IsEmulated(u32 major_version)
{ {
if (major_version == static_cast<u32>(Titles::BC & 0xffffffff))
return true;
return std::any_of( return std::any_of(
ios_memory_values.begin(), ios_memory_values.end(), ios_memory_values.begin(), ios_memory_values.end(),
[major_version](const MemoryValues& values) { return values.ios_number == major_version; }); [major_version](const MemoryValues& values) { return values.ios_number == major_version; });