ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/ps2launchargs/source/uLaunchELF/ps2host/ps2host.c
Revision: 1101
Committed: Wed Feb 7 05:08:54 2018 UTC (7 years, 8 months ago) by iritscen
Content type: text/x-csrc
File size: 867 byte(s)
Log Message:
Added following to ps2launchargs:\n-Source code.\n-DLL needed to run ps2client.\n-Instructions for building uLaunchELF.

File Contents

# Content
1 /*********************************************************************
2 * Copyright (C) 2003 Tord Lindstrom (pukko@home.se)
3 * This file is subject to the terms and conditions of the PS2Link License.
4 * See the file LICENSE in the main directory of this distribution for more
5 * details.
6 */
7
8 #include <stdio.h>
9 #include <sysclib.h>
10 #include <loadcore.h>
11 #include <intrman.h>
12 #include <types.h>
13 #include <sifrpc.h>
14 #if 0 /* EEUG: WHY ? */
15 #include <cdvdman.h>
16 #endif
17
18 // Entry points
19 extern int fsysMount(void);
20 ////////////////////////////////////////////////////////////////////////
21 // main
22 // start threads & init rpc & filesys
23 int
24 _start( int argc, char **argv)
25 {
26 FlushDcache();
27 CpuEnableIntr(0);
28 #if 0 /* EEUG: what the hell these two are doing here ? */
29 sceCdInit(1);
30 sceCdStop();
31 #endif
32 SifInitRpc(0);
33
34 fsysMount();
35 return 0;
36 }
37

Properties

Name Value
svn:executable *