Skip to content
Snippets Groups Projects
Verified Commit 762d4ae3 authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

chore: tiny iptimization

parent c9e01018
No related branches found
No related tags found
No related merge requests found
Pipeline #2810 failed
...@@ -1110,7 +1110,7 @@ impl Ppu { ...@@ -1110,7 +1110,7 @@ impl Ppu {
// calculates the sprite line offset by using the SCX register // calculates the sprite line offset by using the SCX register
// shifted by 3 meaning that the tiles are 8x8 // shifted by 3 meaning that the tiles are 8x8
let mut line_offset: usize = (scx >> 3) as usize; let mut line_offset = (scx >> 3) as usize;
// calculates the index of the initial tile in drawing, // calculates the index of the initial tile in drawing,
// if the tile data set in use is #1, the indexes are // if the tile data set in use is #1, the indexes are
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment