Remove some commented code
Some checks failed
Cargo Build & Test / Rust project - latest (stable) (push) Failing after 7s
Some checks failed
Cargo Build & Test / Rust project - latest (stable) (push) Failing after 7s
This commit is contained in:
@@ -607,7 +607,6 @@ impl PPU {
|
|||||||
self.nmi_enabled = val & 0b1000_0000 != 0;
|
self.nmi_enabled = val & 0b1000_0000 != 0;
|
||||||
self.background.t =
|
self.background.t =
|
||||||
(self.background.t & 0b0001_1000_0000_0000) | (((val & 0b11) as u16) << 10);
|
(self.background.t & 0b0001_1000_0000_0000) | (((val & 0b11) as u16) << 10);
|
||||||
// self.background.vram_column = val & 0b0000_0010 != 0;
|
|
||||||
self.background.vram_column = val & 0b0000_0100 != 0;
|
self.background.vram_column = val & 0b0000_0100 != 0;
|
||||||
self.background.second_pattern = val & 0b0001_0000 != 0;
|
self.background.second_pattern = val & 0b0001_0000 != 0;
|
||||||
// TODO: other control fields
|
// TODO: other control fields
|
||||||
|
|||||||
Reference in New Issue
Block a user