From 1d92218e4a5b416429a6c5be3104bf66e4d52f3a Mon Sep 17 00:00:00 2001
From: sparky4 <sparky4@cock.li>
Date: Tue, 10 Jan 2017 13:47:42 -0600
Subject: [PATCH] made a new function modexMVSetup() and made scroller use dx
 and dy on page[0].dx wwww i will mess with mv[0]dx and mv[0].dy later

---
 src/0.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/0.c b/src/0.c
index c39ba106..69d2c105 100755
--- a/src/0.c
+++ b/src/0.c
@@ -171,10 +171,10 @@ int main(int argc,char **argv)
 		while(!IN_KeyDown(sc_Escape))
 		{
 			IN_ReadControl(0,&player);
+			if(IN_KeyDown(68)){ gvar.kurokku.fpscap=!gvar.kurokku.fpscap; IN_UserInput(1,1); } //f10
 			PANKEY0EXE;
-			if(IN_KeyDown(68) || IN_KeyDown(sc_Space))	//f10 and space
+			if(IN_KeyDown(sc_Space))	//space
 			{
-				//gvar.kurokku.fpscap=!gvar.kurokku.fpscap;
 				anim=!anim;
 				DRAWCORNERBOXES;
 				IN_UserInput(1,1);
@@ -284,6 +284,7 @@ if(!noanim) {
 			}
 
 			/* wait for vsync end */
+			if(gvar.kurokku.fpscap)
 			vga_wait_for_vsync_end();
 
 			/* what scalefactor to use for stretching? */
@@ -328,6 +329,7 @@ if(!noanim) {
 			vga_restore_rm0wm0();
 
 			/* wait for vsync */
+			if(gvar.kurokku.fpscap)
 			vga_wait_for_vsync();
 
 			/* make it shrink */
-- 
2.39.5