Add a "firmware" start screen, for testing the firmware screen

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Henrik RydgårdandClaude Opus 5.5 committed 2026-10-27 12:17:31 +01:00
1 parent 26ead02a59
commit fd17b7725d
1 file changed
+4
+4
View File
@@ -141,6 +141,7 @@
#include "UI/DevScreens.h"
#include "UI/DiscordIntegration.h"
#include "UI/EmuScreen.h"
#include "UI/FirmwareScreen.h"
#include "UI/GameInfoCache.h"
#include "UI/GameSettingsScreen.h"
#include "UI/GPUDriverTestScreen.h"
@@ -900,6 +901,9 @@ void NativeInit(int argc, const char *argv[], const CommandLineOptions &cmdLineO
GameSettingsScreen *settings = new GameSettingsScreen(Path());
settings->OpenDeveloperTools();
g_screenManager->push(settings);
} else if (equals(cmdLineOptions.startScreen.value(), "firmware")) {
g_screenManager->switchScreen(new MainScreen());
g_screenManager->push(new FirmwareScreen(Path()));
} else {
WARN_LOG(Log::System, "Unknown start screen '%s'", cmdLineOptions.startScreen.value().c_str());
g_screenManager->switchScreen(new LogoScreen(AfterLogoScreen::DEFAULT));