This commit is contained in:
GabsPuNs
2026-04-17 18:17:36 -04:00
parent 5674bcc012
commit b9f73b00e2
19 changed files with 273 additions and 256 deletions

View File

@@ -115,7 +115,7 @@ byteArray ArchiveFile::getFile(const wstring &filename)
#if defined _XBOX_ONE || defined __ORBIS__ || defined _WINDOWS64
out = byteArray(data->filesize );
memcpy( out.data, m_cachedData + data->ptr, data->filesize );
memcpy_s( out.data, out.length, m_cachedData + data->ptr, data->filesize );
#else
#ifdef _UNICODE