From 31f479b863de1c869b56894063add1f070268b4f Mon Sep 17 00:00:00 2001 From: Naim2000 Date: Sat, 27 Apr 2024 09:38:17 -0500 Subject: [PATCH] check TMD for vwii_title flag for IOS WADs --- source/wad.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/wad.c b/source/wad.c index e87d6c0..9fa873a 100644 --- a/source/wad.c +++ b/source/wad.c @@ -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; }