Advertisement
Guest User

Untitled

a guest
Aug 28th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 0.24 KB | None | 0 0
  1. What I had:
  2. if c.display[x+xLine+((y+yLine)*64)] == 1 {
  3.   c.v[0xf] = 1
  4.   c.display[x+xLine+((y+yLine)*64)] ^= 1
  5. }
  6.  
  7. Should have been:
  8. if c.display[x+xLine+((y+yLine)*64)] == 1 {
  9.   c.v[0xf] = 1
  10. }
  11. c.display[x+xLine+((y+yLine)*64)] ^= 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement