Difference between revisions of "DVDFatal"
Tanline666 (talk | contribs) (Undo revision 4576 by Tanline666 (talk)) Tag: Undo |
Tanline666 (talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | '''DVDFatal''' is the name of a fatal exception that is raised when a Wii or GameCube fails to read the game disc and cannot recover from the resulting error. Contrary to popular belief, <code>DVDFatal</code> is merely the internal name of the error handling code, and is not actually a function. | |
− | When | + | In order for the <code>DVDFatal</code> code to be ran, the variable <code>DVDSetAutoFatalMessaging</code> needs to be set to true at the beginning of the program. The variable needs to be set to true manually in the [[Dolphin SDK]], but is set automatically in the [[Revolution SDK]]. When the variable is set to false, custom error handling code would be required to be written. If <code>DVDSetAutoFatalMessaging</code> is set to true, then a message similar to the following message will be displayed on screen. |
+ | |||
+ | <blockquote>"An error has occurred. Press the Eject Button, remove the Game Disc, and turn off the power to the console. Please refer to the Nintendo GameCube Instruction Booklet/Wii Operations Manual for help troubleshooting."</blockquote> | ||
+ | |||
+ | The only way to clear the error is to power off the console, as the code calls <code>OSFatal</code> after drawing the screen, which in turn calls <code>[[PPCHalt]]</code>. | ||
[[Category:Wii]] | [[Category:Wii]] |
Revision as of 04:21, 23 May 2023
DVDFatal is the name of a fatal exception that is raised when a Wii or GameCube fails to read the game disc and cannot recover from the resulting error. Contrary to popular belief, DVDFatal
is merely the internal name of the error handling code, and is not actually a function.
In order for the DVDFatal
code to be ran, the variable DVDSetAutoFatalMessaging
needs to be set to true at the beginning of the program. The variable needs to be set to true manually in the Dolphin SDK, but is set automatically in the Revolution SDK. When the variable is set to false, custom error handling code would be required to be written. If DVDSetAutoFatalMessaging
is set to true, then a message similar to the following message will be displayed on screen.
"An error has occurred. Press the Eject Button, remove the Game Disc, and turn off the power to the console. Please refer to the Nintendo GameCube Instruction Booklet/Wii Operations Manual for help troubleshooting."
The only way to clear the error is to power off the console, as the code calls OSFatal
after drawing the screen, which in turn calls PPCHalt
.