while(!IN_KeyDown(sc_Escape))\r
{\r
IN_ReadControl(0,&player);\r
+ if(IN_KeyDown(68)){ gvar.kurokku.fpscap=!gvar.kurokku.fpscap; IN_UserInput(1,1); } //f10\r
PANKEY0EXE;\r
- if(IN_KeyDown(68) || IN_KeyDown(sc_Space)) //f10 and space\r
+ if(IN_KeyDown(sc_Space)) //space\r
{\r
- //gvar.kurokku.fpscap=!gvar.kurokku.fpscap;\r
anim=!anim;\r
DRAWCORNERBOXES;\r
IN_UserInput(1,1);\r
}\r
\r
/* wait for vsync end */\r
+ if(gvar.kurokku.fpscap)\r
vga_wait_for_vsync_end();\r
\r
/* what scalefactor to use for stretching? */\r
vga_restore_rm0wm0();\r
\r
/* wait for vsync */\r
+ if(gvar.kurokku.fpscap)\r
vga_wait_for_vsync();\r
\r
/* make it shrink */\r