mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-01 03:57:17 +01:00
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:
1 parent
26ead02a59
commit
fd17b7725d
1 file changed
+4
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user