예제 #1
0
void waitFlip()
{
	// Block the PPU thread until the previous flip operation has finished.
	while (gcmGetFlipStatus() != 0)
		usleep(200);
	gcmResetFlipStatus();
}
예제 #2
0
void
waitFlip ()
{
  while (gcmGetFlipStatus () != 0)
    usleep (200);		/* Sleep, to not stress the cpu. */
  gcmResetFlipStatus ();
}
예제 #3
0
파일: rsxutil.c 프로젝트: rubio0075/tiny3d
void waitFlip() { // Block the PPU thread untill the previous flip operation has finished.
	while(1){
        int ret= gcmGetFlipStatus();
        
        if(ret<=0) break;
		usleep(200);
    }
	gcmResetFlipStatus();
}
예제 #4
0
static void
waitFlip()
{
  int i = 0;
  while(gcmGetFlipStatus() != 0) {
    i++;
    usleep(200);
    if(i == 10000) {
      TRACE(TRACE_ERROR, "GLW", "Flip never happend");
      exit(0);
    }
  }
  gcmResetFlipStatus();
}
예제 #5
0
static void
waitFlip()
{
  int i = 0;
  while(gcmGetFlipStatus() != 0) {
    i++;
    usleep(200);
    if(i == 10000) {
      TRACE(TRACE_ERROR, "GLW", "Flip never happend, system reboot");
      Lv2Syscall3(379, 0x1200, 0, 0 );
      gcmResetFlipStatus();
    }
  }
  gcmResetFlipStatus();
}
예제 #6
0
void waitflip()
{
    while (gcmGetFlipStatus() != 0)
        usleep(200);
    gcmResetFlipStatus();
}
예제 #7
0
파일: main.c 프로젝트: lousyphreak/PSL1GHT
void waitFlip() { // Block the PPU thread untill the previous flip operation has finished.
	while(gcmGetFlipStatus() != 0) 
		usleep(200);  // Sleep, to not stress the cpu.
	gcmResetFlipStatus();
}