WiiLink24 / WiiLink24-Patcher

The repository containing patchers to help you download channels.
Mozilla Public License 2.0
145 stars 17 forks source link

Patcher currently does not give vWii SPD #26

Closed noahpistilli closed 2 years ago

noahpistilli commented 2 years ago

This is crucial as the vWii uses a different boot loader than the original Wii. Code to check is as follows

bool check_is_vWii() {
    u32 x;

    //check if the vWii nandleader is installed ( 0x200 & 0x201)
    s32 ret = ES_GetTitleContentsCount(0x0000000100000200ll, &x);

    if (ret < 0)
                // Title does not exist, is Wii
        return false;

        // Title exists, is vWii
    return true;
}