forked from Ports/perfect_dark
port: change FPS hard cap to 240 on NTSC, 200 on PAL
This commit is contained in:
1 parent
26da2aa5e6
commit
aeb6851606
2 files changed
+5
-1
No files matched your search
@@ -30,7 +30,7 @@ There are minor graphics- and gameplay-related issues, and possibly occasional c
|
||||
* fixes for a couple original bugs and crashes;
|
||||
* basic mod support, currently enough to load a few custom levels;
|
||||
* slightly expanded memory heap size;
|
||||
* experimental high framerate support (up to 200 FPS):
|
||||
* experimental high framerate support (up to 240 FPS):
|
||||
* set `Game.TickRateDivisor` to `0` in `pd.ini` to activate;
|
||||
* in practice the game will have issues running faster than ~165 FPS, so use VSync or `Video.FramerateLimit` to cap it.
|
||||
|
||||
|
||||
@@ -5,7 +5,11 @@
|
||||
#include <PR/gbi.h>
|
||||
|
||||
// maximum framerate; if the game runs faster than this, things will break
|
||||
#if PAL
|
||||
#define VIDEO_MAX_FPS 200
|
||||
#else
|
||||
#define VIDEO_MAX_FPS 240
|
||||
#endif
|
||||
|
||||
s32 videoInit(void);
|
||||
void videoStartFrame(void);
|
||||
|
||||
Reference in new issue
Block a user