File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
iop/system2x6/dogbait/src Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1212
1313IRX_ID (MODNAME , MAJOR , MINOR );
1414char rdata [16 ];
15- char wdata [2 ] = {0x42 , ( char )( 1 << 8 ) };
15+ char wdata [1 ] = {0x0 };
1616
1717//the loop waiting was made to mirror what rom0:DAEMON did
1818void bait (void * )
1919{
2020 int x ;
2121 printf ("DOGBAIT v%d.%d by El_isra\n" , MAJOR , MINOR );
2222 do {
23+ wdata [0 ] = !wdata [0 ];
2324#ifdef DEBUG
2425 x =
2526#endif
2627 //thanks uyjulian for the idea. arcade CDVDMAN has the blue led control export stubbed so directly calling the CMD was the only choice
2728 sceCdApplySCmd (0x1c , wdata , sizeof (wdata ), rdata );
28- DPRINTF ("sceCdApplySCmd() ret %d\n" , x );
29+ DPRINTF ("sceCdApplySCmd(0x1c, %x ) ret %d\n" , wdata [ 0 ] , x );
2930 x = 0x3c ;
3031 while (0 < x ) {
3132 DelayThread (1000000 );
You can’t perform that action at this time.
0 commit comments