mirror of
https://github.com/love2d/love-android.git
synced 2026-08-22 13:35:05 +02:00
preparing update of physfs
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
// LZMARegister.cpp
|
||||
|
||||
#include "StdAfx.h"
|
||||
|
||||
#include "../../Common/RegisterCodec.h"
|
||||
|
||||
#include "LZMADecoder.h"
|
||||
static void *CreateCodec() { return (void *)(ICompressCoder *)(new NCompress::NLZMA::CDecoder); }
|
||||
#ifndef EXTRACT_ONLY
|
||||
#include "LZMAEncoder.h"
|
||||
static void *CreateCodecOut() { return (void *)(ICompressCoder *)(new NCompress::NLZMA::CEncoder); }
|
||||
#else
|
||||
#define CreateCodecOut 0
|
||||
#endif
|
||||
|
||||
static CCodecInfo g_CodecInfo =
|
||||
{ CreateCodec, CreateCodecOut, 0x030101, L"LZMA", 1, false };
|
||||
|
||||
REGISTER_CODEC(LZMA)
|
||||
Reference in New Issue
Block a user