From b361c338043499d7bb66f69027edea4ebe18f052 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Wed, 24 Aug 2016 07:00:10 -0500 Subject: [PATCH] wwww polished vrstest.c --- src/vrstest.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/vrstest.c b/src/vrstest.c index e12abe92..2eb4ba9d 100755 --- a/src/vrstest.c +++ b/src/vrstest.c @@ -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); -- 2.39.5