source: ps2launchargs/source/uLaunchELF/hdl_info/hdl.h

Last change on this file was 1101, checked in by iritscen, 7 years ago

Added following to ps2launchargs:\n-Source code.\n-DLL needed to run ps2client.\n-Instructions for building uLaunchELF.

  • Property svn:executable set to *
File size: 665 bytes
Line 
1#ifndef _CDVDHDL_H_
2#define _CDVDHDL_H_
3
4#define HDL_GAME_NAME_MAX 64
5
6typedef struct hdl_game_info_type
7{
8 char partition_name [PS2_PART_IDMAX + 1];
9 char name [HDL_GAME_NAME_MAX + 1];
10 char startup [8 + 1 + 3 + 1];
11 u_char compat_flags;
12 int is_dvd;
13 u_long start_sector;
14 u_long total_size_in_kb;
15} hdl_game_info_t;
16
17typedef struct hdl_games_list_type
18{
19 u_long count;
20 hdl_game_info_t *games;
21 u_long total_chunks;
22 u_long free_chunks;
23} hdl_games_list_t;
24
25void hdl_glist_free (hdl_games_list_t *glist);
26int hdl_glist_read (hio_t *hio, hdl_games_list_t **glist);
27int hdl_glist_write (hio_t *hio, hdl_game_info_t *ginfo);
28
29#endif /* _CDVDHDL_H_ */
Note: See TracBrowser for help on using the repository browser.