mirror of
https://github.com/modmii/YAWM-ModMii-Edition.git
synced 2024-11-28 10:54:14 +01:00
add later HBC title ids
This commit is contained in:
parent
66a8fb1440
commit
4875edf350
27
source/wad.c
27
source/wad.c
@ -778,7 +778,11 @@ s32 Wad_Install(FILE *fp)
|
|||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (tid == get_title_ios(TITLE_ID(0x10001, 0x48415858)) || tid == get_title_ios(TITLE_ID(0x10001, 0x4A4F4449)))
|
if(tid == get_title_ios(TITLE_ID(0x10001, 0x48415858))
|
||||||
|
|| tid == get_title_ios(TITLE_ID(0x10001, 0x4A4F4449))
|
||||||
|
|| tid == get_title_ios(TITLE_ID(0x10001, 0xAF1BF516))
|
||||||
|
|| tid == get_title_ios(TITLE_ID(0x10001, 0x4C554C5A))
|
||||||
|
|| tid == get_title_ios(TITLE_ID(0x10001, 0x4F484243)))
|
||||||
{
|
{
|
||||||
if (tmdIsStubIOS(tmd_data))
|
if (tmdIsStubIOS(tmd_data))
|
||||||
{
|
{
|
||||||
@ -837,7 +841,7 @@ s32 Wad_Install(FILE *fp)
|
|||||||
|
|
||||||
if (!VersionIsOriginal(tmd_data->title_version))
|
if (!VersionIsOriginal(tmd_data->title_version))
|
||||||
{
|
{
|
||||||
printf("\n I won't install an unkown SM versions by default.\n\n");
|
printf("\n I won't install an unknown SM versions by default.\n\n");
|
||||||
printf("\n Are you installing a tweaked system menu?\n");
|
printf("\n Are you installing a tweaked system menu?\n");
|
||||||
printf("\n If you're really sure what you're doing, next time\n");
|
printf("\n If you're really sure what you're doing, next time\n");
|
||||||
printf(" select your device using Konami...\n\n");
|
printf(" select your device using Konami...\n\n");
|
||||||
@ -1200,7 +1204,9 @@ s32 Wad_Uninstall(FILE *fp)
|
|||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
//Assorted Checks
|
//Assorted Checks
|
||||||
if (TITLE_UPPER(tid) == 1 && get_title_ios(TITLE_ID(1, 2)) == 0)
|
if (TITLE_UPPER(tid) = 0x1)
|
||||||
|
{
|
||||||
|
if (!get_title_ios(TITLE_ID(1, 2)))
|
||||||
{
|
{
|
||||||
printf("\n I can't determine the System Menus IOS\nDeleting system titles is disabled\n");
|
printf("\n I can't determine the System Menus IOS\nDeleting system titles is disabled\n");
|
||||||
ret = -999;
|
ret = -999;
|
||||||
@ -1218,17 +1224,21 @@ s32 Wad_Uninstall(FILE *fp)
|
|||||||
ret = -999;
|
ret = -999;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
if(get_title_ios(TITLE_ID(1, 2)) == tid)
|
if (tid == get_title_ios(TITLE_ID(1, 2)))
|
||||||
{
|
{
|
||||||
printf("\n I won't uninstall the System Menus IOS\n");
|
printf("\n I won't uninstall the System Menus IOS\n");
|
||||||
ret = -999;
|
ret = -999;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
if (tid == get_title_ios(TITLE_ID(0x10001, 0x48415858)) || tid == get_title_ios(TITLE_ID(0x10001, 0x4A4F4449)))
|
if (tid == get_title_ios(TITLE_ID(0x10001, 0x48415858))
|
||||||
|
|| tid == get_title_ios(TITLE_ID(0x10001, 0x4A4F4449))
|
||||||
|
|| tid == get_title_ios(TITLE_ID(0x10001, 0xAF1BF516))
|
||||||
|
|| tid == get_title_ios(TITLE_ID(0x10001, 0x4C554C5A))
|
||||||
|
|| tid == get_title_ios(TITLE_ID(0x10001, 0x4F484243)))
|
||||||
{
|
{
|
||||||
printf("\n This is the HBCs IOS, uninstalling will break the HBC!\n");
|
printf("\n This is the HBCs IOS, uninstalling will break the HBC!!\n");
|
||||||
printf("\n Press A to continue.\n");
|
printf("\n Press A to continue.");
|
||||||
printf(" Press B skip.");
|
printf("\n Press B skip.");
|
||||||
|
|
||||||
u32 buttons = WaitButtons();
|
u32 buttons = WaitButtons();
|
||||||
|
|
||||||
@ -1238,6 +1248,7 @@ s32 Wad_Uninstall(FILE *fp)
|
|||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
char region = 0;
|
char region = 0;
|
||||||
GetSysMenuRegion(NULL, ®ion);
|
GetSysMenuRegion(NULL, ®ion);
|
||||||
|
Loading…
Reference in New Issue
Block a user