Line 8:
Line 8:
==Code Snippets==
==Code Snippets==
===Video Auto-Detect Routine===
===Video Auto-Detect Routine===
−
The libogc included in DevkitPPC r15 does this for you with one function call.
Here is the video detect code from the DevKitPro Wii example.
Here is the video detect code from the DevKitPro Wii example.
+
Keep in mind, however, the libogc included in DevkitPPC since r15 does this for you already with one function call.
<source lang="c">
<source lang="c">
#include <gccore.h>
#include <gccore.h>