I created a little test project that played different sounds effects I created with Famitracker. Everything seemed to work well, so I moved the sound effects and famitone into my asteroids game, and suddenly the screen goes nuts.
The problem seems to be the call to
If I comment out the call to FamiToneUpdate everything goes back to normal.
Any ideas or suggestions?
Thanks
The problem seems to be the call to
Code:
jsr FamiToneUpdate
inside the game loop. The total number of cycles used in the gameloop is about 5700. At first I thought I may have been using too many cycles or something, but I thought the gameloop had something like 16000 cycles (might be wrong about that).If I comment out the call to FamiToneUpdate everything goes back to normal.
Any ideas or suggestions?
Thanks