chore: implement gamepad controls

This commit is contained in:
2021-05-03 23:11:39 -05:00
parent 1e19854ab0
commit 4abb2833c4
7 changed files with 333 additions and 94 deletions

View File

@@ -238,8 +238,8 @@ impl MemoryBankController for NoMbc {
MbcResult::Address(addr)
}
fn handle_write(&mut self, _addr: u16, byte: u8) {
eprintln!("Tried to write {:#04X} to a read-only cartridge", byte);
fn handle_write(&mut self, _addr: u16, _byte: u8) {
// eprintln!("Tried to write {:#04X} to a read-only cartridge", byte);
}
}