diff --git a/source/apl/apl.c b/source/apl/apl.c index d9c8b99..ce360be 100644 --- a/source/apl/apl.c +++ b/source/apl/apl.c @@ -259,41 +259,6 @@ void m_entry_fixArchiveBit(u32 type){ } -static void _fixAMSErrorFolder(const char *titleId, const char *label){ - gfx_clearscreen(); - gfx_printf("\n\n-- Fix Fehlercode %s --\n\n", label); - if (!sd_mount()) { - gfx_printf("SD-Karte konnte nicht gemountet werden.\n"); - hidWait(); - return; - } - char *path = CpyStr("sd:/atmosphere/contents"); - char *full = CombinePaths(path, titleId); - free(path); - if (FileExists(full)) { - gfx_printf("Entferne Ordner %s ...\n", titleId); - FolderDelete(full); - gfx_printf("Ordner erfolgreich geloescht.\n"); - } else { - gfx_printf("Ordner %s nicht gefunden (evtl. bereits behoben).\n", titleId); - } - free(full); - gfx_printf("\n\n Fertig! Druecke eine Taste um zurueckzukehren"); - hidWait(); -} - -void m_entry_fixAMSError_4200(void){ - _fixAMSErrorFolder("4200000000000010", "4200000000000010"); -} - -void m_entry_fixAMSError_6900(void){ - _fixAMSErrorFolder("690000000000000D", "690000000000000D"); -} - -void m_entry_fixAMSError_BD00(void){ - _fixAMSErrorFolder("010000000000BD00", "010000000000BD00"); -} - static int _deleteTheme(char* basePath, char* folderId){ int removed = 0; char *path = CombinePaths(basePath, folderId); diff --git a/source/apl/apl.h b/source/apl/apl.h index 3e21d83..40e91ba 100644 --- a/source/apl/apl.h +++ b/source/apl/apl.h @@ -2,9 +2,6 @@ #include void m_entry_fixArchiveBit(u32 type); -void m_entry_fixAMSError_4200(void); -void m_entry_fixAMSError_6900(void); -void m_entry_fixAMSError_BD00(void); void m_entry_deleteInstalledThemes(); void m_entry_deleteBootFlags(); void m_entry_ViewCredits(); diff --git a/source/tegraexplorer/mainmenu.c b/source/tegraexplorer/mainmenu.c index a6fee7f..b98506e 100644 --- a/source/tegraexplorer/mainmenu.c +++ b/source/tegraexplorer/mainmenu.c @@ -37,10 +37,6 @@ enum { // FixAll, MainAMS, DeleteThemes, - FixAMS_4200, - FixAMS_6900, - FixAMS_BD00, - MainSysmodules, SysmoduleSelector, MainConvenience, FixMarikoWarmbootSleep, @@ -64,12 +60,7 @@ MenuEntry_t mainMenuEntries[] = { [MainAMS] = {.optionUnion = COLORTORGB(COLOR_WHITE) | SKIPBIT, .name = "\n-- Atmosphere Fehlercodes --"}, [DeleteThemes] = {.optionUnion = COLORTORGB(COLOR_CYAN), .name = "Fix 0100000000001000 (Installiertes Theme)"}, - [FixAMS_4200] = {.optionUnion = COLORTORGB(COLOR_CYAN), .name = "Fix 4200000000000010 (ldn_mitm)"}, - [FixAMS_6900] = {.optionUnion = COLORTORGB(COLOR_CYAN), .name = "Fix 690000000000000D (sys-con)"}, - [FixAMS_BD00] = {.optionUnion = COLORTORGB(COLOR_CYAN), .name = "Fix 010000000000BD00 (MissionControl)"}, - - [MainSysmodules] = {.optionUnion = COLORTORGB(COLOR_WHITE) | SKIPBIT, .name = "\n-- Installierte Sysmodule --"}, - [SysmoduleSelector] = {.optionUnion = COLORTORGB(COLOR_CYAN), .name = "Sysmodul auswaehlen und deinstallieren"}, + [SysmoduleSelector] = {.optionUnion = COLORTORGB(COLOR_CYAN), .name = "Sysmodul deinstallieren (Fehlercode = Title ID)"}, [MainConvenience] = {.optionUnion = COLORTORGB(COLOR_WHITE) | SKIPBIT, .name = "\n-- Bequemlichkeit --"}, [FixMarikoWarmbootSleep] = {.optionUnion = COLORTORGB(COLOR_ORANGE), .name = "Mariko Sleep Fix (Warmboot)"}, @@ -136,9 +127,6 @@ menuPaths mainMenuPaths[] = { [DeleteThemes] = m_entry_deleteInstalledThemes, [FixArchiveBitA] = archBitHelperA, [FixArchiveBitN] = archBitHelperN, - [FixAMS_4200] = m_entry_fixAMSError_4200, - [FixAMS_6900] = m_entry_fixAMSError_6900, - [FixAMS_BD00] = m_entry_fixAMSError_BD00, [SysmoduleSelector] = m_entry_sysmoduleSelector, [FixMacSpecialFolders] = m_entry_fixMacSpecialFolders, [FixMarikoWarmbootSleep] = m_entry_fixMarikoWarmbootSleep,