PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
actimer-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 "actimer_internal.h"
12
13#define MODNAME "simple_timer"
14IRX_ID(MODNAME, 1, 1);
15// Text section hash:
16// 6d5f9b91cc1ce01e895297ea9f8ae6b4
17// Known titles:
18// NM00005
19// NM00006
20// NM00008
21// Path strings:
22// /home/ueda/tmp/psalm-0.1.3/timer-iop-0.1.4/src/
23// /home/ueda/tmp/psalm-0.1.3/core-hdr-0.1.3/src/util/
24// TODO: diff with module text hash 0f77412b636a0393ccd6848c86ce5011
25
26extern struct irx_export_table _exp_actimer;
27
28#define acTimerEntry _start
29
30int acTimerEntry(int argc, char **argv)
31{
32 int ret;
33
34 ret = acTimerModuleStart(argc, argv);
35 if ( ret < 0 )
36 {
37 return ret;
38 }
39 if ( RegisterLibraryEntries(&_exp_actimer) != 0 )
40 return -16;
41 return 0;
42}