We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68b713e commit bffaa8eCopy full SHA for bffaa8e
2 files changed
.gitignore
@@ -1,2 +1,3 @@
1
/target
2
.idea
3
+*.nes
src/cpu/bus.rs
@@ -17,7 +17,7 @@ pub struct Bus {
17
impl Bus {
18
pub fn new(rom: NesRom) -> Self {
19
Self {
20
- sram: Ram::new(0x8000),
+ sram: Ram::new(0x800),
21
rom: rom.clone(),
22
prg_ram: Ram::new(0x2000),
23
ppu: Ppu::new(rom.chr_rom, rom.nametable_mirroring),
0 commit comments