implements PLN-0150
This commit is contained in:
@@ -230,7 +230,12 @@ impl Firmware {
|
||||
return None;
|
||||
}
|
||||
|
||||
let app_id = self.os.vm().current_app_id();
|
||||
let app_id = self
|
||||
.os
|
||||
.sessions()
|
||||
.vm_session_for_task(task_id)
|
||||
.map(|session| session.app_id)
|
||||
.unwrap_or_else(|| self.os.vm().current_app_id());
|
||||
self.os.vm().transition_render_owner(AppMode::Game, app_id);
|
||||
self.game_input_barrier_frames = self.game_input_barrier_frames.max(1);
|
||||
Some(FirmwareState::GameRunning(GameRunningStep::new(task_id)))
|
||||
|
||||
Reference in New Issue
Block a user