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