| 126 | } |
| 127 | |
| 128 | void start_scanline() { |
| 129 | num = 1; |
| 130 | found = 0; |
| 131 | fetch = 1; |
| 132 | count = 0; |
| 133 | last = 64; |
| 134 | mode = 0; |
| 135 | found_pos[0] = found_pos[1] = found_pos[2] = found_pos[3] = 0; |
| 136 | found_pos[4] = found_pos[5] = found_pos[6] = found_pos[7] = 0; |
| 137 | } |
| 138 | }; |
| 139 | |
| 140 | //doesn't need to be savestated as it is just a reflection of the current position in the ppu loop |