upload PS2 texture over PATH2

This commit is contained in:
aap
2015-07-11 14:45:38 +02:00
parent 0bb7ec468a
commit 34f0e5550b
4 changed files with 75 additions and 37 deletions

View File

@@ -174,12 +174,13 @@ gsPollVsynch(void)
}
void
gsFlip(void)
gsFlip(int synch)
{
struct GsState *g = gsCurState;
g->activeFb = (g->activeFb+1) & 1;
g->visibleFb = (g->visibleFb+1) & 1;
gsPollVsynch();
if(synch)
gsPollVsynch();
gsSelectActiveFb(g->activeFb);
gsSelectVisibleFb(g->visibleFb);
}