implements PLN-0164

This commit is contained in:
2026-07-05 09:31:27 +01:00
parent 62573e9574
commit fa0a768b84
7 changed files with 168 additions and 4 deletions
@@ -2,6 +2,7 @@ use crate::firmware::firmware_state::{
AppCrashesStep, FirmwareState, GameRunningStep, HubHomeStep, ShellRunningStep,
};
use crate::firmware::prometeu_context::PrometeuContext;
use crate::firmware::resident_game_termination;
use prometeu_hal::app_mode::AppMode;
use prometeu_hal::cartridge::Cartridge;
use prometeu_hal::color::Color;
@@ -82,7 +83,11 @@ impl LoadCartridgeStep {
.unwrap_or(false);
if is_partial_target {
let _ = ctx.os.lifecycle().terminate_resident_game();
let _ = resident_game_termination::terminate_resident_game(
ctx.os,
ctx.platform,
false,
);
}
}