Skip to content
Snippets Groups Projects
Verified Commit 906e9fba authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

fix: clippy issue

parent c1748910
No related branches found
No related tags found
No related merge requests found
Pipeline #3301 passed
......@@ -331,13 +331,7 @@ impl Mmu {
0x4d => (false as u8) | ((self.speed as u8) << 7),
// 0xFF50 - Boot active flag
0x50 => {
if self.boot_active {
0x00
} else {
0x01
}
}
0x50 => u8::from(!self.boot_active),
// 0xFF70 - SVBK: WRAM bank (CGB only)
0x70 => self.ram_bank & 0x07,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment