mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-25 11:52:32 +01:00
- fix mem growth bug
This commit is contained in:
parent
f7ced7ddd6
commit
26e4e8fff3
@ -466,7 +466,7 @@ int CalcInGameCutsceneSize(void)
|
||||
|
||||
maxSize += MAX(CutsceneHeader.data[0].size, CutsceneHeader.data[1].size);
|
||||
|
||||
CutsceneBuffer.reservedSize += maxSize;
|
||||
CutsceneBuffer.reservedSize = maxSize;
|
||||
CutsceneBuffer.buffer = D_MALLOC(CutsceneBuffer.reservedSize);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user