[saco] Implement/match CGame::GetMemoryAvailableForStreaming()

This commit is contained in:
RD42 2024-08-14 23:11:20 +08:00
parent 22b98ae6a4
commit e3c87d2776
2 changed files with 8 additions and 0 deletions

View File

@ -999,3 +999,10 @@ int CGame::GetMemoryUsedForStreaming()
//-----------------------------------------------------------
int CGame::GetMemoryAvailableForStreaming()
{
return *(int*)0x8A5A80;
}
//-----------------------------------------------------------

View File

@ -127,6 +127,7 @@ public:
void LoadScene(char* szScene);
int GetMemoryUsedForStreaming();
int GetMemoryAvailableForStreaming();
};
//-----------------------------------------------------------