aboutsummaryrefslogtreecommitdiff
path: root/src/ppu.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ppu.rs')
-rw-r--r--src/ppu.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ppu.rs b/src/ppu.rs
index 89c4530..464a25d 100644
--- a/src/ppu.rs
+++ b/src/ppu.rs
@@ -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;