From 66c2b51e10d4eb38793af7ea7a0d298b4ea158ad Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Thu, 3 Jun 2021 00:16:25 -0500 Subject: [PATCH] chore(ppu): fix silly spelling mistake --- src/ppu.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ppu.rs b/src/ppu.rs index 5c67db8..4ed8a52 100644 --- a/src/ppu.rs +++ b/src/ppu.rs @@ -735,17 +735,17 @@ struct BackgroundFetcher { state: FetcherState, tile: TileBuilder, window_line: WindowLineCounter, - is_window_title: bool, + is_window_tile: bool, enabled: bool, } impl BackgroundFetcher { fn should_render_window(&mut self, value: bool) { - self.is_window_title = value; + self.is_window_tile = value; } fn is_window_tile(&self) -> bool { - self.is_window_title + self.is_window_tile } fn pause(&mut self) { @@ -778,7 +778,7 @@ impl Fetcher for BackgroundFetcher { fn hblank_reset(&mut self) { self.reset(); - self.is_window_title = false; + self.is_window_tile = false; self.enabled = true; } @@ -789,7 +789,7 @@ impl Default for BackgroundFetcher { Self { state: Default::default(), tile: Default::default(), - is_window_title: Default::default(), + is_window_tile: Default::default(), window_line: Default::default(), enabled: true, }