misc/libphysfs/lzma/CPP/7zip/Compress/Branch/x86.cpp
author KoBeWi
Thu, 08 Feb 2018 08:50:45 +0100
changeset 12922 c0320d66310d
parent 12213 bb5522e88ab2
permissions -rw-r--r--
Keep game/weapon schemes in separate files

// x86.cpp

#include "StdAfx.h"
#include "x86.h"

UInt32 CBCJ_x86_Encoder::SubFilter(Byte *data, UInt32 size)
{
  return (UInt32)::x86_Convert(data, size, _bufferPos, &_prevMask, 1);
}

UInt32 CBCJ_x86_Decoder::SubFilter(Byte *data, UInt32 size)
{
  return (UInt32)::x86_Convert(data, size, _bufferPos, &_prevMask, 0);
}