From b3cd9324d43179933a91f12522ae9b74dc080edc Mon Sep 17 00:00:00 2001 From: R2DLiu Date: Sat, 25 Jul 2020 17:25:33 -0400 Subject: [PATCH] pull in 90833d8 --- Data/Sys/GameSettings/GALE01r2.ini | 2 +- Source/Core/Core/BootManager.cpp | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Data/Sys/GameSettings/GALE01r2.ini b/Data/Sys/GameSettings/GALE01r2.ini index 03340b0344..b20fc2aa31 100644 --- a/Data/Sys/GameSettings/GALE01r2.ini +++ b/Data/Sys/GameSettings/GALE01r2.ini @@ -11,7 +11,7 @@ FastDiscSpeed = True $Required: General Codes $Required: Slippi Recording $Required: Slippi Online -$Recommended: Normal Lag Reduction +#$Recommended: Normal Lag Reduction $Recommended: Polling drift fix + VB [Gecko] diff --git a/Source/Core/Core/BootManager.cpp b/Source/Core/Core/BootManager.cpp index 23de16583b..0e7cb238a5 100644 --- a/Source/Core/Core/BootManager.cpp +++ b/Source/Core/Core/BootManager.cpp @@ -243,6 +243,15 @@ bool BootCore(std::unique_ptr boot, const WindowSystemInfo& wsi) if (!StartUp.SetPathsAndGameMetadata(*boot)) return false; + // Block running anything other than Melee and homebrew + if (!StartUp.GetGameID().empty() && StartUp.LoadDefaultGameIni().GetSections().empty()) + { + PanicAlertT("This does not seem to be a copy of Super Smash Bros. Melee. " + "Please use regular Dolphin (https://dolphin-emu.org/) for running " + "games other than Super Smash Bros. Melee."); + return false; + } + // Load game specific settings if (!std::holds_alternative(boot->parameters)) {