Skip to content

Commit

Permalink
some bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kronos2308 committed Apr 25, 2020
1 parent 4bd48cc commit eab2225
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ build/*
img
*.rar
Haku33--88/*
libnx/*
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ $(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>/de
endif

TOPDIR ?= $(CURDIR)
LIBNX = $(TOPDIR)/libnx
include $(LIBNX)/switch_rules
include $(DEVKITPRO)/libnx/switch_rules

#---------------------------------------------------------------------------------
Expand Down Expand Up @@ -38,7 +40,7 @@ INCLUDES := include
EXEFS_SRC := exefs_src
APP_TITLE := Haku33
APP_AUTHOR := Kronos2308
APP_VERSION := 2.8
APP_VERSION := 2.9
ROMFS := romfs

#---------------------------------------------------------------------------------
Expand Down
16 changes: 8 additions & 8 deletions source/lang.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ language LG;
LG.text2 = "\n\x1b[30;1m SE REALIZARA UN HARD RESET LUEGO SE APAGARA LA CONSOLA \x1b[0m\n";
LG.text3 = "\n\x1b[30;1m SI NO SABES LO QUE HACES, PRESIONA B PARA ABORTAR \x1b[0m\n";
LG.text4 = "\n\n\x1b[30;1m-------- LO DEVORARE TODO --------\x1b[0m\n\n";
LG.text5 = "PULSA \x1b[3%u;1m ZL\x1b[3%u;1m -\x1b[3%u;1m +\x1b[3%u;1m ZR \x1b[0m JUNTOS PARA LIMPIAR\n\n";
LG.text5 = "\n\nPULSA \x1b[3%u;1m ZL\x1b[3%u;1m -\x1b[3%u;1m +\x1b[3%u;1m ZR \x1b[0m JUNTOS PARA LIMPIAR\n\n";
LG.text6 = "\x1b[33;1m*\x1b[0m Recuerda Desinstalar Incognito Desde Incognito-RCM\n\n";
LG.text7 = "\x1b[31;1m*\x1b[0m Desactiva el Modo Avion ";
LG.text8 = "usar las 90DNS (Requerido)\n\n\x1b[33;1m*\x1b[0m DNS Primario: 163.172.141.219\n\n\x1b[33;1m*\x1b[0m DNS Secundario: 207.246.121.77\n\n";
LG.text9 = "\n\x1b[33;1m*\x1b[0m Si se congela mucho tiempo, Es que ha fallado. Pulsa POWER 15s \n\n";
LG.text7 = "\x1b[33;1m*\x1b[0m Recuerda Desactivar el Modo Avion ";
LG.text8 = "y borrar todas las redes de Internet\n\n";
LG.text9 = "\n\x1b[33;1m*\x1b[0m Si se congela mucho tiempo, Es que ha fallado. Pulsa POWER 15s \n\ny haslo de nuevo\n\n";
LG.text0 = "\x1b[32;1m*\x1b[0m Desabilitando FTP de SXOS\n";
LG.text11 = "\x1b[32;1m*\x1b[0m Esto no esta pensado para uasrse en EMU\n";
break;
Expand All @@ -79,11 +79,11 @@ language LG;
LG.text2 = "\n\x1b[30;1m A HARD RESET WILL BE PERFORMED AFTER THE CONSOLE WILL BE OFF \x1b[0m\n";
LG.text3 = "\n\x1b[30;1m IF YOU DON'T KNOW WHAT YOU DO, PRESS B FOR ABORT \x1b[0m\n";
LG.text4 = "\n\n\x1b[30;1m-------- I WILL CONSUME EVERYTHING --------\x1b[0m\n\n";
LG.text5 = "PRESS \x1b[3%u;1m ZL\x1b[3%u;1m -\x1b[3%u;1m +\x1b[3%u;1m ZR \x1b[0m TOGETHER TO CLEAN\n\n";
LG.text5 = "\n\nPRESS \x1b[3%u;1m ZL\x1b[3%u;1m -\x1b[3%u;1m +\x1b[3%u;1m ZR \x1b[0m TOGETHER TO CLEAN\n\n";
LG.text6 = "\x1b[33;1m*\x1b[0m Remember Uninstall Incognito from Incognito-RCM\n\n";
LG.text7 = "\x1b[31;1m*\x1b[0m Disable Airplane mode ";
LG.text8 = "and use 90DNS(Required)\n\n\x1b[33;1m*\x1b[0m Primary DNS: 163.172.141.219\n\n\x1b[33;1m*\x1b[0m Secondary DNS: 207.246.121.77\n\n";
LG.text9 = "\n\x1b[33;1m*\x1b[0m If it freezes for a long time, It has failed. Press POWER 15s\n\n";
LG.text7 = "\x1b[33;1m*\x1b[0m Rememmber to Disable the Airplane mode ";
LG.text8 = "and delete all net configs\n\n";
LG.text9 = "\n\x1b[33;1m*\x1b[0m If it freezes for a long time, It has failed. Press POWER 15s \n\nand try again \n\n";
LG.text0 = "\x1b[32;1m*\x1b[0m Disabling SXOS FTP\n";
LG.text11 = "\x1b[32;1m*\x1b[0m This is not intended to be used at EMU\n";
break;
Expand Down
16 changes: 15 additions & 1 deletion source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,20 @@ bool isEMU = false;
if (R_SUCCEEDED(pmshellTerminateProgram(0x0100000000534C56))){printf("ReverseNX-");}
if (R_SUCCEEDED(pmshellTerminateProgram(0x0100000000000FAF))){printf("HDI-");}
if (R_SUCCEEDED(pmshellTerminateProgram(0x0100000000000069))){printf("ReiSpoof-");}

if (R_SUCCEEDED(pmshellTerminateProgram(0x420000000000000E))){printf("FTP-");}
if (R_SUCCEEDED(pmshellTerminateProgram(0x0100000000000352))){printf("Emuiio-");}
if (R_SUCCEEDED(pmshellTerminateProgram(0x4200000000000010))){printf("LanPlay-");}
if (R_SUCCEEDED(pmshellTerminateProgram(0x0100000000000BEF))){printf("Disk-USB-");}
if (R_SUCCEEDED(pmshellTerminateProgram(0x4200000000000000))){printf("SysTune-");}
if (R_SUCCEEDED(pmshellTerminateProgram(0x690000000000000D))){printf("Sys-Con-");}
if (R_SUCCEEDED(pmshellTerminateProgram(0x420000000007E51A))){printf("TeslaOVL-");}
if (R_SUCCEEDED(pmshellTerminateProgram(0x00FF0000A53BB665))){printf("SysDVR-");}
if (R_SUCCEEDED(pmshellTerminateProgram(0x00FF0000636C6BFF))){printf("Sys-Clk-");}
if (R_SUCCEEDED(pmshellTerminateProgram(0x420000000000000B))){printf("SysPlay-");}
if (R_SUCCEEDED(pmshellTerminateProgram(0x0000000000534C56))){printf("ReverseNX-");}
if (R_SUCCEEDED(pmshellTerminateProgram(0x0100000000000069))){printf("ReiSpoof-");}
if (R_SUCCEEDED(pmshellTerminateProgram(0x0100000000000FAF))){printf("HDI-");}

//DeInitialize
printf("\n\x1b[32;1m*\x1b[0m DeInitialize\n");
Expand Down Expand Up @@ -307,7 +321,6 @@ int main(int argc, char **argv)
printf(LG.text2);
printf(LG.text3);
printf(LG.text4);
printf(LG.text5,LT,minus,more,RT);
if(strlen(incognito()) == 0)//detect incognito
printf(LG.text6);
if(!HasConnection())//detect airplane mode for evoid freeze
Expand All @@ -316,6 +329,7 @@ int main(int argc, char **argv)
if (!issxos)//extra warning if you are not on sxos
printf(LG.text8);
}
printf(LG.text5,LT,minus,more,RT);


consoleUpdate(NULL);
Expand Down

0 comments on commit eab2225

Please sign in to comment.