mirror of
https://github.com/dborth/fceugx.git
synced 2025-01-07 14:28:18 +01:00
add vsync
This commit is contained in:
parent
bab7d0f6e7
commit
dbf7c30c81
@ -110,7 +110,11 @@ vbgetback (void *arg)
|
|||||||
{
|
{
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
SyncSpeed();
|
if(GCSettings.timing != vmode_60hz)
|
||||||
|
VIDEO_WaitVSync();
|
||||||
|
else
|
||||||
|
SyncSpeed();
|
||||||
|
|
||||||
LWP_SuspendThread (vbthread);
|
LWP_SuspendThread (vbthread);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user