- use a local byteswap header in the file system.
This commit is contained in:
parent
771fa2b51c
commit
454af06acf
12 changed files with 170 additions and 43 deletions
|
|
@ -34,6 +34,9 @@
|
|||
*/
|
||||
|
||||
#include "resourcefile.h"
|
||||
#include "fs_swap.h"
|
||||
|
||||
using namespace fs_private;
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
|
|
@ -217,7 +220,7 @@ int FRFFLump::FillCache()
|
|||
|
||||
if (Flags & LUMPF_COMPRESSED)
|
||||
{
|
||||
int cryptlen = min<int> (LumpSize, 256);
|
||||
int cryptlen = std::min<int> (LumpSize, 256);
|
||||
uint8_t *data = (uint8_t *)Cache;
|
||||
|
||||
for (int i = 0; i < cryptlen; ++i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue