Line 2:
Line 2:
this handles the shutdown/reset button on the front of the Wii, maybe it handles more.
this handles the shutdown/reset button on the front of the Wii, maybe it handles more.
+
+
+
+
STM_ShutdownToStandby
+
inbuf can(/must?) by empty
+
+
ios_ioctl( fd, 0x2003, inbuf, 0x20, outbuf, 0x20);
+
+
+
STM_HotReset
+
inbuf can(/must?) by empty
+
+
ios_ioctl( fd, 0x2001, inbuf, 0x20, outbuf, 0x20);