mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-15 11:24:08 +00:00
changes to RW layer so loading foreign files works
This commit is contained in:
parent
460f3cea44
commit
546ed0ff07
8 changed files with 143 additions and 22 deletions
|
@ -390,6 +390,7 @@ CStreaming::LoadCdDirectory(const char *dirname, int n)
|
|||
assert(sizeof(direntry) == 32);
|
||||
while(CFileMgr::Read(fd, (char*)&direntry, sizeof(direntry))){
|
||||
dot = strchr(direntry.name, '.');
|
||||
assert(dot);
|
||||
if(dot) *dot = '\0';
|
||||
if(direntry.size > (uint32)ms_streamingBufferSize)
|
||||
ms_streamingBufferSize = direntry.size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue