/dev/stm/immediate

From WiiBrew
< /dev‎ | stm
Jump to: navigation, search

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);