PS2SDK
PS2 Homebrew Libraries
accdvde-entry.c
1 /*
2 # _____ ___ ____ ___ ____
3 # ____| | ____| | | |____|
4 # | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5 #-----------------------------------------------------------------------
6 # Copyright ps2dev - http://www.ps2dev.org
7 # Licenced under Academic Free License version 2.0
8 # Review ps2sdk README & LICENSE files for further details.
9 */
10 
11 #include "accdvde_internal.h"
12 
13 #define MODNAME "CD/DVD_Compatible/EE"
14 IRX_ID(MODNAME, 1, 1);
15 // Text section hash:
16 // 3adc67543b57ea59a55923c48202b7a8
17 // Known titles:
18 // NM00005
19 // NM00006
20 // NM00008
21 // Path strings:
22 // /home/ueda/tmp/psalm-0.1.3/cdvd-iop-0.1.9/src/
23 // /home/ueda/tmp/psalm-0.1.3/core-hdr-0.1.3/src/util/
24 // TODO: diff with module text hash 13ec89dd2db83c3fe3c667251c260f77
25 
26 extern struct irx_export_table _exp_accdvde;
27 
28 #define acCdvdeEntry _start
29 
30 int acCdvdeEntry(int argc, char **argv)
31 {
32  int ret;
33 
34  ret = acCdvdeModuleStart(argc, argv);
35  if ( ret < 0 )
36  {
37  return ret;
38  }
39  if ( RegisterLibraryEntries(&_exp_accdvde) != 0 )
40  return -16;
41  return 0;
42 }
irx_export_table
Definition: irx.h:90