When a sprite was going outside of the screen on the right side some artifacts were visible. This was due to uneeded offset of the screen buffer pointer (srcxjump). Also removed unused xclip local variable. Also the palette size was not correctly set to 256 when using new PROJ_SCREENMODE define.
(there is an extra commit that adds an utility method not related to mode 13, sorry about that)
When a sprite was going outside of the screen on the right side some artifacts were visible. This was due to uneeded offset of the screen buffer pointer (srcxjump). Also removed unused xclip local variable. Also the palette size was not correctly set to 256 when using new PROJ_SCREENMODE define.
(there is an extra commit that adds an utility method not related to mode 13, sorry about that)