chore(emu): remove bus and bus_mut from cpu

This commit is contained in:
2021-11-01 17:56:42 +09:00
parent 80a15039e0
commit 7dfcd44820
2 changed files with 8 additions and 18 deletions

View File

@@ -151,16 +151,6 @@ impl BusIo for Cpu {
}
impl Cpu {
#[inline]
pub(crate) fn bus(&self) -> &Bus {
&self.bus
}
#[inline]
pub(crate) fn bus_mut(&mut self) -> &mut Bus {
&mut self.bus
}
fn handle_ei(&mut self) {
match self.ime {
ImeState::EiExecuted => self.ime = ImeState::Pending,