From 06ceae2884ece6aa130c1af59cb75e99a3faf022 Mon Sep 17 00:00:00 2001 From: Joonatan Saarhelo Date: Mon, 28 Oct 2024 19:16:29 +0100 Subject: [PATCH] remove stray bootloader mention --- crates/vm2/src/program.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/crates/vm2/src/program.rs b/crates/vm2/src/program.rs index 7a2b0dc..7cbf0e9 100644 --- a/crates/vm2/src/program.rs +++ b/crates/vm2/src/program.rs @@ -138,13 +138,10 @@ fn jump_to_beginning_handler( ExecutionStatus::Running } -fn decode_program>( - raw: &[u64], - is_bootloader: bool, -) -> Vec> { +fn decode_program>(raw: &[u64]) -> Vec> { raw.iter() .take(1 << 16) - .map(|i| decode(*i, is_bootloader)) + .map(|i| decode(*i)) .chain(std::iter::once(if raw.len() >= 1 << 16 { jump_to_beginning() } else {