mirror of
https://github.com/halpz/re3.git
synced 2025-07-20 19:09:48 +00:00
Frontend, Peds & logic and overflow fixes
This commit is contained in:
committed by
Filip Gawin
parent
5f92e74086
commit
be7d1d1a63
@ -9,6 +9,7 @@
|
||||
#include "CutsceneMgr.h"
|
||||
#include "Streaming.h"
|
||||
#include "CutsceneHead.h"
|
||||
#include "CdStream.h"
|
||||
|
||||
|
||||
CCutsceneHead::CCutsceneHead(CObject *obj)
|
||||
@ -94,7 +95,7 @@ CCutsceneHead::PlayAnimation(const char *animName)
|
||||
stream = RwStreamOpen(rwSTREAMFILENAME, rwSTREAMREAD, "ANIM\\CUTS.IMG");
|
||||
assert(stream);
|
||||
|
||||
CStreaming::MakeSpaceFor(size*2048);
|
||||
CStreaming::MakeSpaceFor(size * CDSTREAM_SECTOR_SIZE);
|
||||
CStreaming::ImGonnaUseStreamingMemory();
|
||||
|
||||
RwStreamSkip(stream, offset*2048);
|
||||
|
Reference in New Issue
Block a user