File tree 1 file changed +3
-4
lines changed
iop/system2x6/dogbait/src
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 12
12
13
13
IRX_ID (MODNAME , MAJOR , MINOR );
14
14
char rdata [16 ];
15
- char wdata [1 ] = {0x0 };
15
+ char wdata [1 ] = {0x42 };
16
16
17
17
//the loop waiting was made to mirror what rom0:DAEMON did
18
18
void bait (void * )
19
19
{
20
20
int x ;
21
21
printf ("DOGBAIT v%d.%d by El_isra\n" , MAJOR , MINOR );
22
22
do {
23
- wdata [0 ] = !wdata [0 ];
24
23
#ifdef DEBUG
25
24
x =
26
25
#endif
27
26
//thanks uyjulian for the idea. arcade CDVDMAN has the blue led control export stubbed so directly calling the CMD was the only choice
28
- sceCdApplySCmd (0x1c , wdata , sizeof (wdata ), rdata );
29
- DPRINTF ("sceCdApplySCmd(0x1c , %x) ret %d\n" , wdata [0 ], x );
27
+ sceCdApplySCmd (0x03 , wdata , sizeof (wdata ), rdata );
28
+ DPRINTF ("sceCdApplySCmd(0x03 , %x) ret %d\n" , wdata [0 ], x );
30
29
x = 0x3c ;
31
30
while (0 < x ) {
32
31
DelayThread (1000000 );
You can’t perform that action at this time.
0 commit comments