Something with streaming

This commit is contained in:
Shinovon 2026-05-12 08:00:13 +05:00
parent e3ad2108f1
commit 6992f313a9
5 changed files with 37 additions and 30 deletions

View file

@ -49,6 +49,7 @@ psGlobalType psGlobal;
uint32 gGameState = 0;
long _dwOperatingSystemVersion = 0;
uint32 _dwMemAvailPhys = 0;
size_t streamingMemSize;
static EGLDisplay eglDisplay;
static EGLContext eglContext;
@ -526,6 +527,13 @@ public:
VersionInfo::TPlatformVersion platformVersion;
VersionInfo::GetVersion(platformVersion);
moreVram = platformVersion.iMajorVersion == 5 && platformVersion.iMinorVersion >= 4;
if (moreVram) {
streamingMemSize = 12 * 1024 * 1024;
} else {
streamingMemSize = 10 * 1024 * 1024;
}
#else
streamingMemSize = 8 * 1024 * 1024;
#endif
TSize size = Size();