feat: uncapped FPS when VSync off, fix graphics settings bitmask collision
Bypass the 4J RenderManager's hardcoded SyncInterval=1 by calling the DXGI swap chain directly with Present(0, ALLOW_TEARING) when VSync is disabled. Falls back to the library's Present on failure. Relocate VSync/Fullscreen setting flags from bits 18-19 to bits 24-25 to eliminate overlap with the render distance byte (bits 16-23). Sync the Fullscreen game setting when F11 is pressed so the graphics menu checkbox stays accurate. Remove tracked DumpSwf.class (already covered by tools/*.class gitignore).
This commit is contained in:
@@ -105,8 +105,8 @@ enum EGameHostOptionWorldSize
|
||||
#define GAMESETTING_ANIMATEDCHARACTER 0x00008000
|
||||
#define GAMESETTING_PS3EULAREAD 0x00010000
|
||||
#define GAMESETTING_PSVITANETWORKMODEADHOC 0x00020000
|
||||
#define GAMESETTING_VSYNC 0x00040000
|
||||
#define GAMESETTING_EXCLUSIVEFULLSCREEN 0x00080000
|
||||
#define GAMESETTING_VSYNC 0x01000000
|
||||
#define GAMESETTING_EXCLUSIVEFULLSCREEN 0x02000000
|
||||
|
||||
|
||||
// defines for languages
|
||||
|
||||
Reference in New Issue
Block a user