PS2SDK
PS2 Homebrew Libraries
graph_config.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int graph_make_config (int mode, int interlace, int ffmd, int x, int y, int flicker_filter, char *config)
 
int graph_get_config (char *config)
 
int graph_set_config (char *config)
 
int graph_load_config (char *filename)
 
int graph_save_config (char *filename)
 

Detailed Description

Graph library config

Definition in file graph_config.h.

Function Documentation

◆ graph_make_config()

int graph_make_config ( int  mode,
int  interlace,
int  ffmd,
int  x,
int  y,
int  flicker_filter,
char *  config 
)

Creates a string from the current mode. The string format is: mode:int:ffmd:filter:x:y:

Definition at line 8 of file graph_config.c.

Referenced by graph_get_config().

◆ graph_get_config()

int graph_get_config ( char *  config)

Gets the string made from the current mode.

Definition at line 426 of file graph_mode.c.

References graph_make_config().

◆ graph_set_config()

int graph_set_config ( char *  config)

Sets the mode from the configuration string.

Definition at line 79 of file graph_config.c.

◆ graph_load_config()

int graph_load_config ( char *  filename)

Reads the configuration string from a file and sets it.

Definition at line 184 of file graph_config.c.

◆ graph_save_config()

int graph_save_config ( char *  filename)

Writes the current mode information into a config file as a string.

Definition at line 219 of file graph_config.c.