Results 1 to 6 of 6

Thread: Lua Vsync

                  
   
  1. #1
    DCEmu Rookie jools's Avatar
    Join Date
    Mar 2006
    Location
    Scotland, UK
    Posts
    106
    Rep Power
    71

    Default Lua Vsync

    I was just wontering is it posable to set the Vsync rate on a lua psp game/app and if so could enyone tell me the code?

    thanks

  2. #2
    GP2X Coder/Moderator
    Join Date
    Jan 2006
    Posts
    1,678
    Rep Power
    88

    Default

    Are you refering to the VSync?

  3. #3
    DCEmu Rookie jools's Avatar
    Join Date
    Mar 2006
    Location
    Scotland, UK
    Posts
    106
    Rep Power
    71

    Default

    yes sorry I was thinking of db

  4. #4
    GP2X Coder/Moderator
    Join Date
    Jan 2006
    Posts
    1,678
    Rep Power
    88

    Default

    AFAIK, no. At least not in Lua. You can cap the framerate to something below 60 and still have a stable display or not use the call to wait for VBlank and have the code run as fast as it can but you will have screen tearing.

  5. #5
    DCEmu Rookie jools's Avatar
    Join Date
    Mar 2006
    Location
    Scotland, UK
    Posts
    106
    Rep Power
    71

    Default

    thanks

  6. #6
    DCEmu Rookie jools's Avatar
    Join Date
    Mar 2006
    Location
    Scotland, UK
    Posts
    106
    Rep Power
    71

    Default

    is there eny other way of inceasing the frame rate because my game runs at about 10 fps and yet it only has the player and a background

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •