Ignore:
Timestamp:
Jan 15, 2013, 11:41:52 PM (8 years ago)
Author:
sam
Message:

core: you can now while(app.MustTick()) { Tick(); } instead of app.Run().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/platform/ps3/ps3app.cpp

    r2183 r2222  
    115115}
    116116
    117 void Ps3App::Run()
     117void Ps3App::Tick()
    118118{
    119     while (!Ticker::Finished())
    120     {
    121         /* Tick the renderer, show the frame and clamp to desired framerate. */
    122         Ticker::TickDraw();
     119    /* Tick the renderer, show the frame and clamp to desired framerate. */
     120    Ticker::TickDraw();
    123121
    124122#if defined __CELLOS_LV2__
    125         psglSwap();
     123    psglSwap();
    126124
    127         /* Check if exit callback was called */
    128         cellSysutilCheckCallback();
     125    /* Check if exit callback was called */
     126    cellSysutilCheckCallback();
    129127#endif
    130     }
    131128}
    132129
Note: See TracChangeset for help on using the changeset viewer.