#include <revolution/os.h>void OSRestart(u32 resetCode);resetCode |
Only the low-order 29 bits are valid. Any value freely specified here ahead of time can be retrieved after restart using the OSGetResetCode function. If OSRestart is called and a game disc cannot be found or the current game differs from the current disc, make sure that a reset code of 0 is always passed to the next game at run-time. |
None.
OSRebootSystem runs a restart. "Restart" means that the API reloads the application and jumps to the start of the application.
You must be aware of the cautions indicated in the Reset and Shutdown Functions when calling this function.
Note: There is no guarantee that any data in memory will remain after restart. Data loss in a specified region can be avoided by using the OSSetSaveRegion function.
08/10/2006 Initial version.
CONFIDENTIAL