Graphics: Default framerate in RGSS2 is 60
This commit is contained in:
parent
deb5696ddb
commit
150c280c1e
|
@ -45,6 +45,12 @@
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
|
#ifdef RGSS2
|
||||||
|
#define DEF_FRAMERATE 60
|
||||||
|
#else
|
||||||
|
#define DEF_FRAMERATE 40
|
||||||
|
#endif
|
||||||
|
|
||||||
struct PingPong
|
struct PingPong
|
||||||
{
|
{
|
||||||
TEXFBO rt[2];
|
TEXFBO rt[2];
|
||||||
|
@ -404,7 +410,7 @@ struct GraphicsPrivate
|
||||||
winSize(rtData->config.defScreenW, rtData->config.defScreenH),
|
winSize(rtData->config.defScreenW, rtData->config.defScreenH),
|
||||||
screen(scRes.x, scRes.y),
|
screen(scRes.x, scRes.y),
|
||||||
threadData(rtData),
|
threadData(rtData),
|
||||||
frameRate(40),
|
frameRate(DEF_FRAMERATE),
|
||||||
frameCount(0),
|
frameCount(0),
|
||||||
#ifdef RGSS2
|
#ifdef RGSS2
|
||||||
brightness(255),
|
brightness(255),
|
||||||
|
|
Loading…
Reference in New Issue