Skip to content

Commit

Permalink
Fix the bg rendering
Browse files Browse the repository at this point in the history
Allow the smooth moving animation on X axis
  • Loading branch information
alloncm committed Aug 21, 2021
1 parent 18e9b35 commit eb03d73
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib_gb/src/ppu/fifo/fifo_ppu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,10 @@ impl<GFX:GfxDevice> FifoPpu<GFX>{
self.bg_fetcher.reset();
self.sprite_fetcher.reset();

// TODO break case found on the first try
// If im on the first iteration and finished the 160 pixels break;
// In this case the number of t_cycles should be eneven but it will break
// my code way too much for now so Im leaving this as it is... (maybe in the future)
break;
}
}
}
Expand Down

0 comments on commit eb03d73

Please sign in to comment.