diff options
author | Determinant <ted.sybil@gmail.com> | 2017-11-15 12:38:11 -0500 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2017-11-15 12:38:11 -0500 |
commit | 7ced09699636956fe1c0e4bc9748d482c1b40239 (patch) | |
tree | 577bfdcdb92348c6d7e1d1f20498e033d22eab15 /src/ppu.rs | |
parent | 5e09a190d48a28055bc7a0989940b43bb10d295d (diff) |
...
Diffstat (limited to 'src/ppu.rs')
-rw-r--r-- | src/ppu.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -51,7 +51,7 @@ pub struct PPU<'a> { buffered_read: u8, early_read: bool, /* IO */ - mem: &'a PPUMemory<'a>, + mem: PPUMemory<'a>, scr: &'a Screen, } @@ -441,7 +441,7 @@ impl<'a> PPU<'a> { })); } - pub fn new(mem: &'a PPUMemory<'a>, scr: &'a Screen) -> Self { + pub fn new(mem: PPUMemory<'a>, scr: &'a Screen) -> Self { let ppuctl = 0x00; let ppumask = 0x00; let ppustatus = 0xa0; |