Difference between revisions of "/dev/stm/immediate"
Jump to navigation
Jump to search
m |
m (added two stm functions) |
||
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); |
Revision as of 20:09, 1 March 2008
This article is a stub. You can help WiiBrew by expanding it. |
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);