KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
vmu_pkg.h File Reference

VMU Packaging functionality. More...

#include <sys/cdefs.h>
#include <arch/types.h>

Go to the source code of this file.

Data Structures

struct  vmu_pkg_t
 VMU Package type. More...
 
struct  vmu_hdr_t
 Final VMU package type. More...
 

Macros

#define VMUPKG_EC_NONE   0
 No eyecatch.
 
#define VMUPKG_EC_16BIT   1
 16-bit ARGB4444
 
#define VMUPKG_EC_256COL   2
 256-color palette
 
#define VMUPKG_EC_16COL   3
 16-color palette
 

Functions

int vmu_pkg_build (vmu_pkg_t *src, uint8 **dst, int *dst_size)
 Convert a vmu_pkg_t into an array of uint8s.
 
int vmu_pkg_parse (uint8 *data, vmu_pkg_t *pkg)
 Parse an array of uint8s into a vmu_pkg_t.
 

Detailed Description

VMU Packaging functionality.

This file provides declarations for managing the headers that must be attached to VMU files for the BIOS to pay attention to them. This does not handle reading/writing files directly.

Author
Megan Potter
See also
dc/fs_vmu.h