Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alloncm committed Nov 1, 2024
1 parent 6fe74d0 commit 674a25d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/tests/memory_stub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use magenboy_core::mmu::Memory;

pub struct MemoryStub{
pub data:[u8;0xFFFF],
pub double_speed:bool,
pub double_speed:bool
}

impl Memory for MemoryStub{
Expand All @@ -17,4 +17,6 @@ impl Memory for MemoryStub{
fn set_double_speed_mode(&mut self, s:bool) {
self.double_speed = s;
}

fn set_halt(&mut self, _:bool) {}
}

0 comments on commit 674a25d

Please sign in to comment.