add vsync

This commit is contained in:
dborth 2008-10-22 19:07:03 +00:00
parent bab7d0f6e7
commit dbf7c30c81

View File

@ -110,7 +110,11 @@ vbgetback (void *arg)
{
while (1)
{
SyncSpeed();
if(GCSettings.timing != vmode_60hz)
VIDEO_WaitVSync();
else
SyncSpeed();
LWP_SuspendThread (vbthread);
}