PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
acflash-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 "acflash_internal.h"
12
13#define MODNAME "Arcade_Flash_Memory"
14IRX_ID(MODNAME, 1, 1);
15// Text section hash:
16// 83c44942d316812471a189fd2015bbc9
17// Known titles:
18// NM00005
19// NM00006
20// NM00008
21// Path strings:
22// /home/ueda/tmp/psalm-0.1.3/flash-iop-0.1.2/src/
23// TODO: diff with module text hash 1437cb87136e2564482cd3f609ab4023
24
25extern struct irx_export_table _exp_acflash;
26
27#define acFlashEntry _start
28
29int acFlashEntry(int argc, char **argv)
30{
31 int ret;
32
33 ret = acFlashModuleStart(argc, argv);
34 if ( ret < 0 )
35 {
36 return ret;
37 }
38 if ( RegisterLibraryEntries((struct irx_export_table *)&_exp_acflash) != 0 )
39 return -16;
40 return 0;
41}