mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-25 19:31:58 +01:00
971b5bdb52
to be divisible with 4 anymore, you can use what you want -moved sound buffers back in mem2, idk but for wiiflow it gives a better result -added mem2 memalign placeholder for new memory manager (after a week still everything but finished) -updated other small things, cleaned up source structure a bit
31 lines
1.2 KiB
C
31 lines
1.2 KiB
C
/****************************************************************************
|
|
* Copyright (C) 2012 giantpune
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
****************************************************************************/
|
|
#ifndef ASH_H
|
|
#define ASH_H
|
|
|
|
#include <gctypes.h>
|
|
|
|
// check if data is ash compressed
|
|
bool IsAshCompressed( const u8 *stuff, u32 len );
|
|
|
|
// decompress ash compressed data
|
|
//! len is the size of the compressed data, and is set to the size of the decompressed data
|
|
//! this allocates memory with memalign, free it when you are done with it
|
|
|
|
u8* DecompressAsh( const u8 *stuff, u32 &len );
|
|
#endif // ASH_H
|