File tree Expand file tree Collapse file tree
iop/system2x6/dogbait/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#include "irx_imports.h"
22
33#define MODNAME "dogbait"
4+ #define MAJOR 1
5+ #define MINOR 0
6+
47#ifdef DEBUG
58#define DPRINTF (fmt , x ...) printf(MODNAME ": " fmt, ##x)
69#else
710#define DPRINTF (x ...)
811#endif
912
10- IRX_ID (MODNAME , 2 , 11 );
11- //thanks uyjulian for the idea
13+ IRX_ID (MODNAME , MAJOR , MINOR );
1214char rdata [16 ];
1315char wdata [2 ] = {0x42 , (char )(1 << 8 )};
1416
1517//the loop waiting was made to mirror what rom0:DAEMON did
1618void bait (void * )
1719{
1820 int x ;
19- printf ("fake check card routine start \n" );
21+ printf ("DOGBAIT v%d.%d by El_isra \n" , MAJOR , MINOR );
2022 do {
2123#ifdef DEBUG
2224 x =
2325#endif
26+ //thanks uyjulian for the idea. arcade CDVDMAN has the blue led control export stubbed so directly calling the CMD was the only choice
2427 sceCdApplySCmd (0x1c , wdata , sizeof (wdata ), rdata );
2528 DPRINTF ("sceCdApplySCmd() ret %d\n" , x );
2629 x = 0x3c ;
You can’t perform that action at this time.
0 commit comments