Nugget
Bare-metal libraries and examples for the original PlayStation
Loading...
Searching...
No Matches
Typedefs | Functions | Variables
gpdplayer.h File Reference
#include <stdint.h>
Include dependency graph for gpdplayer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef int(* GPD_ReadFn) (void *ctx, void *dst, int bytes)
 

Functions

int GPD_Check (const void *header16)
 
int GPD_Init (GPD_ReadFn fn, void *ctx)
 
int GPD_InitMemory (const void *data, uint32_t size)
 
int GPD_InitPCdrv (const char *hostPath)
 
int GPD_InitCDRom (const char *path)
 
void GPD_Close ()
 
int GPD_PlayFrame ()
 

Variables

uint32_t GPD_GPUVersion
 
uint32_t GPD_Frame
 

Typedef Documentation

◆ GPD_ReadFn

typedef int(* GPD_ReadFn) (void *ctx, void *dst, int bytes)

Function Documentation

◆ GPD_Check()

int GPD_Check ( const void *  header16)

◆ GPD_Close()

void GPD_Close ( )

◆ GPD_Init()

int GPD_Init ( GPD_ReadFn  fn,
void *  ctx 
)

◆ GPD_InitCDRom()

int GPD_InitCDRom ( const char *  path)

◆ GPD_InitMemory()

int GPD_InitMemory ( const void *  data,
uint32_t  size 
)

◆ GPD_InitPCdrv()

int GPD_InitPCdrv ( const char *  hostPath)

◆ GPD_PlayFrame()

int GPD_PlayFrame ( )

Variable Documentation

◆ GPD_Frame

uint32_t GPD_Frame
extern

◆ GPD_GPUVersion

uint32_t GPD_GPUVersion
extern