mirror of
https://gitlab.com/shinovon/re3-symbian.git
synced 2026-05-23 01:57:21 +03:00
Bring more changes from DC port
This commit is contained in:
parent
f6a5685de8
commit
7dae1b0268
10 changed files with 401 additions and 119 deletions
|
|
@ -1214,8 +1214,9 @@ CStreaming::RemoveReferencedTxds(size_t mem)
|
|||
CStreamingInfo *si;
|
||||
int streamId;
|
||||
|
||||
for(si = ms_endLoadedList.m_prev; si != &ms_startLoadedList; si = si->m_prev){
|
||||
for(si = ms_endLoadedList.m_prev; si != &ms_startLoadedList; ){
|
||||
streamId = si - ms_aInfoForModel;
|
||||
si = si->m_prev;
|
||||
if(streamId >= STREAM_OFFSET_TXD &&
|
||||
CTxdStore::GetNumRefs(streamId-STREAM_OFFSET_TXD) == 0){
|
||||
RemoveModel(streamId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue