From 68f7a03d057298ca37e9e878809fa5eacb7a26a3 Mon Sep 17 00:00:00 2001 From: Sepalani Date: Mon, 12 Feb 2018 19:57:32 +0100 Subject: [PATCH] ES: Make it not fail on something that isn't IOS --- Source/Core/Core/IOS/VersionInfo.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/IOS/VersionInfo.cpp b/Source/Core/Core/IOS/VersionInfo.cpp index 8ce4c011ef..ab0f9ea83f 100644 --- a/Source/Core/Core/IOS/VersionInfo.cpp +++ b/Source/Core/Core/IOS/VersionInfo.cpp @@ -389,8 +389,10 @@ bool IsEmulated(u64 title_id) { const bool ios = IsTitleType(title_id, IOS::ES::TitleType::System) && title_id != Titles::SYSTEM_MENU; + if (!ios) + return true; const u32 version = static_cast(title_id); - return ios && IsEmulated(version); + return IsEmulated(version); } } }