Files
HackerOoT/include/compression.h
Yanis 4608e7f97d HackerOoT clean-up (#154)
* makefile changes

* minor 'if's cleanup

* changed version to ntsc-1.2 and removed hackeroot-mq

* fixed some build issues

* format files

* fix boot issues

* remove mod_assets system

* add f3dex2 offsets for ntsc 1.0, 1.1 and 1.2

* update F3DEX3

* format

* make adjustements

* post-merge fixes

* remove settings.json from tracking

* temp delete c_cpp_properties.json

* hopefully fix .vscode oddities

* fixed sym_info

* fix build issues

* fixed profiler issues

Co-authored by: Thar0 <17233964+Thar0@users.noreply.github.com>

* format + don't format example scene sources

* proper f3dex3 patches folders

---------

Co-authored-by: Yanis42 <35189056+Yanis42@users.noreply.github.com>
2025-07-02 14:36:16 +02:00

22 lines
585 B
C

#ifndef COMPRESSION_H
#define COMPRESSION_H
#include "ultra64.h"
#include "z64dma.h"
#include "config.h"
#if COMPRESS_YAZ
void* Yaz0_FirstDMA(void);
void* Yaz0_NextDMA(u8* curSrcPos);
void Yaz0_DecompressImpl(u8* src, u8* dst);
void Yaz0_Decompress(uintptr_t romStart, u8* dst, size_t size);
#elif COMPRESS_GZIP
void gzip_decompress(uintptr_t romStart, u8* dst, size_t size);
#elif COMPRESS_LZO
void LZO_Decompress(unsigned int pstart, unsigned char* op, unsigned int sz);
#elif COMPRESS_APLIB
void Aplib_Decompress(unsigned rom, unsigned char* dst, unsigned compSz);
#endif
#endif