I am trying to port my game Shadow Gangs to the NeoGeo, I got now to the point where I can start polishing and optimizing the game.
I get a glitch on the background scrolls, when the character is moving right, and not when he is moving left.
On GNGEO it looks like this:
Dan hosted at ImgBBImgBBImage Dan hosted in ImgBB
On Mame, the glitch is still there, but instead of a empty vertical line, it's like white or black small dots or rectangles all over the screen.
It doesn't happen when moving left on both GNGEO and Mame.
Doesn't happen also when the framerate is 60 fps.
Doesn't happen when Idle, only when moving.
Also, If wait for 2 or 3 Vsyncs or more, it doesn't happen. (But then the game is then very slow)
I am not using sticky, and I put the sprites on the correct X position.
The thing that I don't understand, is that it happens only when moving right, not left...
Do you guys have an idea what the issue might be?