mirror of
https://github.com/modmii/YAWM-ModMii-Edition.git
synced 2024-11-28 10:54:14 +01:00
check TMD for vwii_title flag for IOS WADs
This commit is contained in:
parent
604bd0e5ab
commit
31f479b863
@ -689,9 +689,9 @@ s32 Wad_Install(FILE *fp)
|
||||
|
||||
if (TITLE_UPPER(tmd_data->sys_version) == 0) // IOS
|
||||
{
|
||||
if (isvWiiTitle ^ IS_WIIU) // xor is one of my favourite binary operators of all time
|
||||
if ((isvWiiTitle || tmd_data->vwii_title) ^ IS_WIIU) // xor is one of my favourite binary operators of all time
|
||||
{
|
||||
printf("\n Cannot install vWii IOS on Wii (and vice versa).\n");
|
||||
printf("\n Cannot install vWii IOS on Wii\n or Wii IOS on vWii.\n");
|
||||
ret = -999;
|
||||
goto err;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user