In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Difference between revisions of "/dev/stm/immediate"

From WiiBrew
< /dev‎ | stm
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 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);