mirror of
https://github.com/mre/mos6502.git
synced 2025-01-03 00:30:57 +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)
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
#[derive(Clone, Default)]
|
||||
pub struct CPU<M, V>
|
||||
where
|
||||
M: Bus,
|
||||
|
Loading…
Reference in New Issue
Block a user