aboutsummaryrefslogtreecommitdiff
path: root/src/memory.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/memory.rs')
-rw-r--r--src/memory.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/memory.rs b/src/memory.rs
index db7b200..6eb796f 100644
--- a/src/memory.rs
+++ b/src/memory.rs
@@ -146,6 +146,9 @@ impl<'a> CPUMemory<'a> {
0x4008 => apu.triangle.write_reg1(data),
0x400a => apu.triangle.write_reg3(data),
0x400b => apu.triangle.write_reg4(data),
+ 0x400c => apu.noise.write_reg1(data),
+ 0x400e => apu.noise.write_reg3(data),
+ 0x400f => apu.noise.write_reg4(data),
0x4015 => apu.write_status(data),
0x4017 => apu.write_frame_counter(data),
0x4014 => ppu.write_oamdma(data, cpu),