misc/libphysfs/lzma/CPP/7zip/Compress/Branch/ARMThumb.cpp
author Wuzzy <Wuzzy2@mail.ru>
Tue, 17 Jul 2018 22:00:15 +0200
changeset 13503 c5d7376fa58a
parent 12213 bb5522e88ab2
permissions -rw-r--r--
Bazooka/Grende training: Hide mission panel on pressing attack key

// ARMThumb.cpp

#include "StdAfx.h"

#include "ARMThumb.h"

extern "C" 
{ 
#include "../../../../C/Compress/Branch/BranchARMThumb.h"
}

UInt32 CBC_ARMThumb_Encoder::SubFilter(Byte *data, UInt32 size)
{
  return ::ARMThumb_Convert(data, size, _bufferPos, 1);
}

UInt32 CBC_ARMThumb_Decoder::SubFilter(Byte *data, UInt32 size)
{
  return ::ARMThumb_Convert(data, size, _bufferPos, 0);
}