mirror of
https://github.com/mre/mos6502.git
synced 2025-01-04 22:31:52 +00:00
impl Default for CPU
This commit is contained in:
parent
874422b394
commit
0c8616acb0
@ -35,7 +35,7 @@ fn address_from_bytes(lo: u8, hi: u8) -> u16 {
|
|||||||
u16::from(lo) + (u16::from(hi) << 8usize)
|
u16::from(lo) + (u16::from(hi) << 8usize)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone)]
|
#[derive(Clone, Default)]
|
||||||
pub struct CPU<M, V>
|
pub struct CPU<M, V>
|
||||||
where
|
where
|
||||||
M: Bus,
|
M: Bus,
|
||||||
|
Loading…
Reference in New Issue
Block a user