mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-11-27 00:10:39 +00:00
[saco] Implement/match CGame::GetMemoryAvailableForStreaming()
This commit is contained in:
parent
22b98ae6a4
commit
e3c87d2776
@ -999,3 +999,10 @@ int CGame::GetMemoryUsedForStreaming()
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
int CGame::GetMemoryAvailableForStreaming()
|
||||
{
|
||||
return *(int*)0x8A5A80;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
|
@ -127,6 +127,7 @@ public:
|
||||
|
||||
void LoadScene(char* szScene);
|
||||
int GetMemoryUsedForStreaming();
|
||||
int GetMemoryAvailableForStreaming();
|
||||
};
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user