Ignore:
Timestamp:
2010-05-28 07:39:52 (2 years ago)
Author:
kpoole
Message:

Episode 5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Classes/SDL/src/video/uikit/SDL_uikitevents.m

    r4 r26  
    3131#include "jumphack.h" 
    3232 
     33#ifndef DISABLE_OPENFEINT 
     34extern bool gPauseForOpenFeint; 
     35#endif 
     36 
    3337void 
    3438UIKit_PumpEvents(_THIS) 
     
    4751    if (setjmp(*jump_env()) == 0) { 
    4852        /* if we're setting the jump, rather than jumping back */ 
     53         
     54#ifndef DISABLE_OPENFEINT 
     55        // KP: limit framerate when OF is up 
     56        while (gPauseForOpenFeint) 
     57        { 
     58            CFRunLoopRunInMode(kCFRunLoopDefaultMode, 1, TRUE);  
     59        } 
     60#endif       
     61         
    4962        SInt32 result; 
    5063        do { 
Note: See TracChangeset for help on using the changeset viewer.