Add an option to abort when a panic alert occurs

Prompted by https://dolphin.ci/#/builders/24/builds/985

A 1-character typo in a recent PR caused FifoCI builds to break
horribly and spew millions of panic alerts until buildbot crashed.

This PR adds a new config option -- defaulting to off -- that allows
Dolphin to abort early on when a panic alert occurs instead of
continuing forever.
This commit is contained in:
Léo Lam
2021-08-29 01:53:12 +02:00
parent 4816195366
commit e091c2e817
6 changed files with 18 additions and 3 deletions

View File

@ -68,10 +68,8 @@ bool IsSettingSaveable(const Config::Location& config_location)
// Main.Interface
&Config::MAIN_USE_PANIC_HANDLERS.GetLocation(),
&Config::MAIN_ABORT_ON_PANIC_ALERT.GetLocation(),
&Config::MAIN_OSD_MESSAGES.GetLocation(),
// Main.Interface
&Config::MAIN_SKIP_NKIT_WARNING.GetLocation(),
// UI.General