Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.38 KB | None | 0 0
  1. int main()
  2. {
  3.   SetupCallbacks();
  4.   pspDebugScreenInit();
  5.   gImage* texture = gTexLoad("back.png",G_TRUE);
  6.  
  7.   while (1)
  8.   {
  9.     gClear(WHITE);
  10.  
  11.     gBegin(texture); // No texture
  12.     gSetCoordMode(G_CENTER);
  13.     gSetCoordXY(50,50);
  14.     gAdd();
  15.     gEnd();
  16.    
  17.     gFlip(G_TRUE); // Vsync enabled
  18.   }
  19.    
  20.   gTexFree(&texture);
  21.   sceKernelExitGame();
  22.   return 0;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement