1 2 3 4 5 6 7 8 9 10 11
use crate::memory::memory_bus::MemoryBusState; struct Emulator { memory_bus_state: MemoryBusState, } impl Emulator { pub fn new() -> Self { Self { memory_bus_state: MemoryBusState::default() } } }