diff --git a/lib/src/processor/memory/mmio/gpu.rs b/lib/src/processor/memory/mmio/gpu.rs index 1f9c4aa..37666a7 100644 --- a/lib/src/processor/memory/mmio/gpu.rs +++ b/lib/src/processor/memory/mmio/gpu.rs @@ -376,7 +376,7 @@ where } fn parse_oam(&mut self, scanline: u8) -> Vec { - let mut objs = vecVec::new(); + let mut objs = Vec::new(); let effective_scanline = scanline + 16; for i in (0xFE00..0xFE9F).step_by(4) { let y_pos = self.oam.get(i.try_into().unwrap()); diff --git a/lib/src/processor/memory/rom.rs b/lib/src/processor/memory/rom.rs index d1eba1b..c66bf11 100644 --- a/lib/src/processor/memory/rom.rs +++ b/lib/src/processor/memory/rom.rs @@ -43,7 +43,7 @@ const NUM_WRITES_TO_FLUSH: usize = 256; impl MaybeBufferedSram { fn new(path: Option, length: usize) -> Self { - let mut buf = vecVec::new(); + let mut buf = Vec::new(); let inner = if let Some(path) = path { if path.exists() { let mut writer = OpenOptions::new()