revert some accidental changes

This commit is contained in:
dborth 2009-02-08 21:25:13 +00:00
parent 99892a51f5
commit 4e1004660f

View File

@ -289,7 +289,7 @@ InitVideoThread ()
LWP_InitQueue (&videoblankqueue); LWP_InitQueue (&videoblankqueue);
/*** Create the thread on this queue ***/ /*** Create the thread on this queue ***/
LWP_CreateThread (&vbthread, vbgetback, NULL, vbstack, TSTACK, 80); LWP_CreateThread (&vbthread, vbgetback, NULL, vbstack, TSTACK, 150);
} }
/**************************************************************************** /****************************************************************************
@ -583,9 +583,6 @@ InitGCVideo ()
VIDEO_ClearFrameBuffer (vmode, xfb[1], COLOR_BLACK); VIDEO_ClearFrameBuffer (vmode, xfb[1], COLOR_BLACK);
VIDEO_SetNextFramebuffer (xfb[0]); VIDEO_SetNextFramebuffer (xfb[0]);
printf("\n\n\n\ttest A");
sleep(5);
// video callbacks // video callbacks
VIDEO_SetPostRetraceCallback ((VIRetraceCallback)UpdatePadsCB); VIDEO_SetPostRetraceCallback ((VIRetraceCallback)UpdatePadsCB);
VIDEO_SetPreRetraceCallback ((VIRetraceCallback)copy_to_xfb); VIDEO_SetPreRetraceCallback ((VIRetraceCallback)copy_to_xfb);
@ -601,16 +598,10 @@ InitGCVideo ()
draw_init (); draw_init ();
printf(" B");
sleep(2);
InitLUTs(); // init LUTs for hq2x InitLUTs(); // init LUTs for hq2x
InitVideoThread (); InitVideoThread ();
printf(" C");
sleep(2);
// Finally, the video is up and ready for use :) // Finally, the video is up and ready for use :)
} }
@ -626,7 +617,7 @@ ResetVideo_Emu ()
Mtx44 p; Mtx44 p;
int i = -1; int i = -1;
if (GCSettings.render == 0) // original render mode or hq2x if (GCSettings.render == 0 || GCSettings.FilterMethod != FILTER_NONE) // original render mode or hq2x
{ {
for (i=0; i<4; i++) for (i=0; i<4; i++)
{ {