coastline 0.0.4
Loading...
Searching...
No Matches
DecompressJob Struct Reference

A decompression that runs over several calls of DecompressFromRom(), a step a call. More...

#include <assetdma.h>

Public Attributes

u32 romOffset
void * dst
u8 * buffer
u32 bufferHalf
u32 compressedSize
u32 decompressedSize
u32 remaining
u32 pendingChunkSize

Detailed Description

A decompression that runs over several calls of DecompressFromRom(), a step a call.

Member Data Documentation

◆ romOffset

u32 DecompressJob::romOffset

Where the next chunk is on the cartridge.

◆ dst

void* DecompressJob::dst

Where the decompression writes next, or NULL before it starts.

◆ buffer

u8* DecompressJob::buffer

The memory the compressed data is read into, two halves of 16000 bytes.

◆ bufferHalf

u32 DecompressJob::bufferHalf

The half being read into, 0 or 16000.

◆ compressedSize

u32 DecompressJob::compressedSize

The compressed size of the asset, in bytes.

◆ decompressedSize

u32 DecompressJob::decompressedSize

The decompressed size of the asset, in bytes.

◆ remaining

u32 DecompressJob::remaining

The compressed bytes remaining to read, 0 once the decompression is done.

◆ pendingChunkSize

u32 DecompressJob::pendingChunkSize

The size of the chunk being read, in bytes.


The documentation for this struct was generated from the following file: