diff --git a/iop/system2x6/dogbait/src/main.c b/iop/system2x6/dogbait/src/main.c index 4ab02a0da3ae..9932f5331da5 100644 --- a/iop/system2x6/dogbait/src/main.c +++ b/iop/system2x6/dogbait/src/main.c @@ -12,7 +12,7 @@ IRX_ID(MODNAME, MAJOR, MINOR); char rdata[16]; -char wdata[1] = {0x0}; +char wdata[1] = {0x42}; //the loop waiting was made to mirror what rom0:DAEMON did void bait(void*) @@ -20,13 +20,12 @@ void bait(void*) int x; printf("DOGBAIT v%d.%d by El_isra\n", MAJOR, MINOR); do { - wdata[0] = !wdata[0]; #ifdef DEBUG x = #endif //thanks uyjulian for the idea. arcade CDVDMAN has the blue led control export stubbed so directly calling the CMD was the only choice - sceCdApplySCmd(0x1c, wdata, sizeof(wdata), rdata); - DPRINTF("sceCdApplySCmd(0x1c, %x) ret %d\n", wdata[0], x); + sceCdApplySCmd(0x03, wdata, sizeof(wdata), rdata); + DPRINTF("sceCdApplySCmd(0x03, %x) ret %d\n", wdata[0], x); x = 0x3c; while (0 < x) { DelayThread(1000000);