implements PLN-0047 firmware profile dispatch

This commit is contained in:
2026-05-14 13:25:24 +01:00
parent da908ffcb4
commit bea3f76aa7
7 changed files with 48 additions and 8 deletions
@@ -1,5 +1,5 @@
use crate::firmware::firmware_state::{
AppCrashesStep, FirmwareState, GameRunningStep, HubHomeStep,
AppCrashesStep, FirmwareState, GameRunningStep, SystemRunningStep,
};
use crate::firmware::prometeu_context::PrometeuContext;
use prometeu_hal::cartridge::{AppMode, Cartridge};
@@ -50,9 +50,7 @@ impl LoadCartridgeStep {
);
ctx.hub.window_manager.set_focus(id);
// System apps do not change the firmware state to GameRunning.
// They run in the background or via windows in the Hub.
return Some(FirmwareState::HubHome(HubHomeStep));
return Some(FirmwareState::SystemRunning(SystemRunningStep));
}
Some(FirmwareState::GameRunning(GameRunningStep))