chore(ppu): fix silly spelling mistake

This commit is contained in:
Rekai Nyangadzayi Musuka 2021-06-03 00:16:25 -05:00
parent be39c249e1
commit 66c2b51e10
1 changed files with 5 additions and 5 deletions

View File

@ -735,17 +735,17 @@ struct BackgroundFetcher {
state: FetcherState, state: FetcherState,
tile: TileBuilder, tile: TileBuilder,
window_line: WindowLineCounter, window_line: WindowLineCounter,
is_window_title: bool, is_window_tile: bool,
enabled: bool, enabled: bool,
} }
impl BackgroundFetcher { impl BackgroundFetcher {
fn should_render_window(&mut self, value: bool) { fn should_render_window(&mut self, value: bool) {
self.is_window_title = value; self.is_window_tile = value;
} }
fn is_window_tile(&self) -> bool { fn is_window_tile(&self) -> bool {
self.is_window_title self.is_window_tile
} }
fn pause(&mut self) { fn pause(&mut self) {
@ -778,7 +778,7 @@ impl Fetcher for BackgroundFetcher {
fn hblank_reset(&mut self) { fn hblank_reset(&mut self) {
self.reset(); self.reset();
self.is_window_title = false; self.is_window_tile = false;
self.enabled = true; self.enabled = true;
} }
@ -789,7 +789,7 @@ impl Default for BackgroundFetcher {
Self { Self {
state: Default::default(), state: Default::default(),
tile: Default::default(), tile: Default::default(),
is_window_title: Default::default(), is_window_tile: Default::default(),
window_line: Default::default(), window_line: Default::default(),
enabled: true, enabled: true,
} }