PS2SDK
PS2 Homebrew Libraries
acata-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 "acata_internal.h"
12 
13 #define MODNAME "ATA/ATAPI_driver"
14 IRX_ID(MODNAME, 1, 1);
15 // Text section hash:
16 // b4ae71c954a7435710d4be18af0c2ba0
17 // Known titles:
18 // NM00048
19 // NM00052
20 // Path strings:
21 // /home/kyota/psalm2hd/psalm-0.1.3/ata-iop-0.1.8/src/
22 // /home/kyota/psalm2hd/psalm-0.1.3/core-hdr-0.1.3/src/util/
23 
24 extern struct irx_export_table _exp_acata;
25 
26 #define acAtaEntry _start
27 
28 int acAtaEntry(int argc, char **argv)
29 {
30  int ret;
31 
32  ret = acAtaModuleStart(argc, argv);
33  if ( ret < 0 )
34  {
35  return ret;
36  }
37  if ( RegisterLibraryEntries(&_exp_acata) != 0 )
38  return -16;
39  return 0;
40 }
irx_export_table
Definition: irx.h:90