mirror of
https://gitlab.com/shinovon/re3-symbian.git
synced 2026-05-23 01:57:21 +03:00
Something with streaming
This commit is contained in:
parent
e3ad2108f1
commit
6992f313a9
5 changed files with 37 additions and 30 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue