Last change
on this file since 1134 was 1101, checked in by iritscen, 7 years ago |
Added following to ps2launchargs:\n-Source code.\n-DLL needed to run ps2client.\n-Instructions for building uLaunchELF.
|
-
Property svn:executable
set to
*
|
File size:
867 bytes
|
Rev | Line | |
---|
[1101] | 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 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.