Code: Select all
VDP_setScrollingMode ( HSCROLL_TILE, VSCROLL_PLANE );
...
VDP_setScrollingMode ( HSCROLL_PLANE, VSCROLL_PLANE ); // doesn't work
VDP_setReg ( 0x0B, 0 ); // resets scroll; of course it works
Moderator: Stef
Code: Select all
VDP_setScrollingMode ( HSCROLL_TILE, VSCROLL_PLANE );
...
VDP_setScrollingMode ( HSCROLL_PLANE, VSCROLL_PLANE ); // doesn't work
VDP_setReg ( 0x0B, 0 ); // resets scroll; of course it works
Thanks I noticed this bug, it's fixed in the current source trunk but i didn't posted yet official release including the fix.Moon-Watcher wrote:Seems VDP_setScrollingMode doesn't restore horizontal scroll by plane if it were previously set by tile. Not tested by line or vertical.
Code: Select all
VDP_setScrollingMode ( HSCROLL_TILE, VSCROLL_PLANE ); ... VDP_setScrollingMode ( HSCROLL_PLANE, VSCROLL_PLANE ); // doesn't work VDP_setReg ( 0x0B, 0 ); // resets scroll; of course it works