chore(cpu): refactor SM83 implementation
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Instruction::decode no longer requires mutable access to the CPU
This commit is contained in:
@@ -66,6 +66,10 @@ impl Bus {
|
||||
self.cartridge.as_ref()?.title()
|
||||
}
|
||||
|
||||
pub(crate) fn boot_mapped(&self) -> bool {
|
||||
self.boot.is_some()
|
||||
}
|
||||
|
||||
pub(crate) fn clock(&mut self) {
|
||||
self.ppu.clock();
|
||||
self.timer.clock();
|
||||
|
Reference in New Issue
Block a user