Update main.c

This commit is contained in:
Lillian Skinner 2024-03-14 01:19:18 -04:00 committed by GitHub
parent 3194f199af
commit f58f054162
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -168,8 +168,10 @@ int main(int argc, char **argv)
char path[64];
sprintf(path, "nand:/title/00030017/%08lx/content/title.tmd", launcherTid);
unsigned long long tmdSize = getFileSizePath(path);
if (tmdSize > 520)
unlaunchFound = true;
//if (tmdSize > 520)
// unlaunchFound = true;
unlaunchFound = true;
// unlaunch is always true just for testing.
//check if launcher patches are enabled
const static u32 tidValues[][2] = {
@ -310,4 +312,4 @@ void clearScreen(PrintConsole* screen)
{
consoleSelect(screen);
consoleClear();
}
}