]> 4ch.mooo.com Git - 16.git/commitdiff
wwww polished vrstest.c
authorsparky4 <sparky4@cock.li>
Wed, 24 Aug 2016 12:00:10 +0000 (07:00 -0500)
committersparky4 <sparky4@cock.li>
Wed, 24 Aug 2016 12:00:10 +0000 (07:00 -0500)
src/vrstest.c

index e12abe92a37ae334d218af4ae9e9700cc2b2cc25..2eb4ba9dd929e44e825da3511e02eeac59eeba05 100755 (executable)
@@ -52,6 +52,7 @@ void main() {
        struct vrl1_vgax_header huge *curr_vrl;
        struct vrl_container *vrl;
        int success;
+       byte w=1;
 
 
 
@@ -174,7 +175,15 @@ void main() {
 
        while(!kbhit())
        {
-               modexPalUpdate0(pal);
+               switch(w)
+               {
+                       case 4:
+                               modexPalUpdate0(pal);
+                               w=1;
+                       default:
+                               w++;
+                       break;
+               }
        }
        VGAmodeX(0, 1, &gvar);
        free(spri.sprite_vrl_cont);