Graphics: Default framerate in RGSS2 is 60

This commit is contained in:
Jonas Kulla 2014-08-15 23:02:16 +02:00
parent deb5696ddb
commit 150c280c1e
1 changed files with 7 additions and 1 deletions

View File

@ -45,6 +45,12 @@
#include <errno.h>
#include <algorithm>
#ifdef RGSS2
#define DEF_FRAMERATE 60
#else
#define DEF_FRAMERATE 40
#endif
struct PingPong
{
TEXFBO rt[2];
@ -404,7 +410,7 @@ struct GraphicsPrivate
winSize(rtData->config.defScreenW, rtData->config.defScreenH),
screen(scRes.x, scRes.y),
threadData(rtData),
frameRate(40),
frameRate(DEF_FRAMERATE),
frameCount(0),
#ifdef RGSS2
brightness(255),