Functions | |
| s32 | DecodeSZS (const u8 *src, u8 *dst) |
| Performs YAZ0 decompression on a given buffer. | |
| constexpr bool | CheckCompressed (const u8 *src) |
| Checks if the given data is compressed, indicated by the first three bytes being set to Yaz. | |
| constexpr s32 | GetExpandSize (const u8 *src) |
Performs YAZ0 decompression on a given buffer.
Definition at line 8 of file Decomp.cc.
Referenced by DecodeSZS(), DvdArchive::decompress(), and RawGhostFile::decompress().
|
inlinenodiscardconstexpr0x802198F8 |
Checks if the given data is compressed, indicated by the first three bytes being set to Yaz.
| src | Pointer to the data to check |
In the base game, this function normally returns an enum to account for other compression formats (ASH / ASR). We only need to handle Yaz0 compression for Kinoko.
Definition at line 14 of file Decomp.hh.
Referenced by CheckCompressed(), GetExpandSize(), DvdArchive::load(), and DvdArchive::load().
Definition at line 19 of file Decomp.hh.
Referenced by DecodeSZS(), DvdArchive::decompress(), RawGhostFile::decompress(), and GetExpandSize().