Line 7:
Line 7:
Dragon Quest X has a special apploader that loads from a WFS USB. For [[vWii]] compatibility, a special 1-513 title comes preinstalled on all vWiis with this apploader, as a complete [https://wiiubrew.org/wiki/Ancast_Image Ancast Image].
Dragon Quest X has a special apploader that loads from a WFS USB. For [[vWii]] compatibility, a special 1-513 title comes preinstalled on all vWiis with this apploader, as a complete [https://wiiubrew.org/wiki/Ancast_Image Ancast Image].
+
+
== Disc Apploader ==
+
Disc apploaders are called by the [[System Menu]]. The <code>entry</code> function takes 3 pointers as arguments, and fills them with the <code>init</code>, <code>main</code>, and <code>finalize</code> functions{{Ref|https://github.com/dbarnett/wiimu/blob/a2bbe46a9b0af48be76564716a28a7b69aa77e74/source/disc.c#L322}}. <code>init</code> takes a print function as an argument and returns nothing. Meanwhile, <code>main</code> takes 3 pointers, which get filled with arguments to pass to DVDLowRead, and keeps getting called until it returns something other than 1. <code>finalize</code> takes no arguments, but returns the entrypoint, which the System Menu then jumps to.
== NANDLoader ==
== NANDLoader ==