mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 02:12:43 +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