mc0:/SYS-CONF/GSCONFIG.DAT perhaps?ooPo wrote: If no filename is specified, it will attempt to read a default file. (where should this file be?). The format will be as follows, all on one line:
Feature request for ps2link protocol
Shoot Pixels Not People!
Makeshift Development
Makeshift Development
Code: Select all
int graph_config_read(char *filename);
// Reads a config file and sets its contents as the current mode.
int graph_config_write(char *filename);
// Writes the current mode information into a config file.
Code: Select all
GRAPH_MODE_NTSC:GRAPH_PSM_32:GRAPH_PSM_32:
I know you had your heart set on doing your own weird mode stuff, so I've supplied the following function to allow you to do just that:
Code: Select all
int graph_set_mode_manual(int width, int height, int mode, int interlace, int size, u64 display, int psm, int zpsm);
// Sets the graphic mode by specifying the actual graph_mode structure values.