1
0
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:
Sam M W 2024-09-25 09:55:33 +01:00 committed by Matthias Endler
parent 874422b394
commit 0c8616acb0

View File

@ -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,