Skip to content

Commit f95bc32

Browse files
committed
small fix
1 parent b5c3279 commit f95bc32

File tree

3 files changed

+13
-23
lines changed

3 files changed

+13
-23
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ INCLUDES := include
3838
EXEFS_SRC := exefs_src
3939
APP_TITLE := Haku33
4040
APP_AUTHOR := Kronos2308
41-
APP_VERSION := 1.1
41+
APP_VERSION := 1.2
4242
#ROMFS := romfs
4343

4444
#---------------------------------------------------------------------------------

compile.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@echo off
22
make
33
echo completado
4-
"C:\devkitPro\tools\bin\nxlink.exe" --address 192.168.1.129 Haku33.nro
4+
"C:\devkitPro\tools\bin\nxlink.exe" --address 192.168.1.136 Haku33.nro
55
%systemroot%\system32\timeout.exe 55
66
exit

source/main.cpp

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ bool install()
130130
printf("\x1b[31;1m*\x1b[0m Initialize proc\n");
131131
consoleUpdate(NULL);
132132
fsInitialize();
133-
pmdmntInitialize();
134133
pmshellInitialize();
135134
//terminate
136135
printf("\x1b[31;1m*\x1b[0m terminate\n");
@@ -141,7 +140,7 @@ bool install()
141140
pmshellTerminateProcessByTitleId(0x010000000000000E);//friends
142141
pmshellTerminateProcessByTitleId(0x010000000000000F);//nifm
143142
pmshellTerminateProcessByTitleId(0x010000000000001E);//account
144-
pmshellTerminateProcessByTitleId(0x010000000000001F);//ns
143+
// pmshellTerminateProcessByTitleId(0x010000000000001F);//ns
145144
pmshellTerminateProcessByTitleId(0x0100000000000020);//nfc
146145
pmshellTerminateProcessByTitleId(0x0100000000000022);//capsrv
147146
pmshellTerminateProcessByTitleId(0x0100000000000024);//ssl
@@ -155,7 +154,7 @@ bool install()
155154
pmshellTerminateProcessByTitleId(0x010000000000003A);//migration
156155
pmshellTerminateProcessByTitleId(0x010000000000003E);//olsc
157156
// pmshellTerminateProcessByTitleId(0x0100000000001000);//qlaunch
158-
pmshellTerminateProcessByTitleId(0x0100000000001009);//miiEdit
157+
// pmshellTerminateProcessByTitleId(0x0100000000001009);//miiEdit
159158

160159
//mount system
161160
printf("\x1b[31;1m*\x1b[0m mount system\n");
@@ -166,7 +165,7 @@ bool install()
166165
//delete system
167166
printf("\x1b[31;1m*\x1b[0m delete system\n");
168167
consoleUpdate(NULL);
169-
DeleteDir("myssytem:/save");
168+
// DeleteDir("myssytem:/save");
170169
DeleteDir("myssytem:/saveMeta");
171170
//umount system
172171
printf("\x1b[31;1m*\x1b[0m umount system\n");
@@ -200,7 +199,6 @@ bool install()
200199
//exit proc
201200
printf("\x1b[31;1m*\x1b[0m exit proc\n");
202201
consoleUpdate(NULL);
203-
pmdmntExit();
204202
pmshellExit();
205203
fsExit();
206204

@@ -209,26 +207,14 @@ bool install()
209207
bpcInitialize();
210208
bpcShutdownSystem();
211209
bpcExit();
212-
213-
/*
214-
if(isSpanish())
215-
printf("Estas seguro de que deseas borrar tu informacion personal del prodinfo?\n");
216-
else
217-
printf("Are you sure you want erase your personal information from prodinfo?\n");
218-
if (!confirm())
219-
{
220-
// return end();
221-
}
222-
223-
return true;*/
224-
return 0;
210+
return 0;
225211
}
226212

227213
int main(int argc, char **argv)
228214
{
229215
appletBeginBlockingHomeButton(0);
230216

231-
u64 count = 1000;//kill time
217+
u64 count = 300;//kill time
232218
while (appletMainLoop())
233219
{
234220
hidScanInput();
@@ -255,14 +241,14 @@ appletBeginBlockingHomeButton(0);
255241
printf("\n\x1b[30;1m SE REALIZARA UN HARD RESET EN BREVE LUEGO SE APAGARA LA CONSOLA \x1b[0m\n");
256242
printf("\n\n\x1b[30;1m-------- LO DEVORARE TODO --------\x1b[0m\n\n");
257243
printf("PULSA + PARA CANSELAR\n\n");
258-
printf("\x1b[31;1m*\x1b[0m CUENTA ATRAS-%u\n",count);
244+
printf("\x1b[31;1m*\x1b[0m CUENTA ATRAS-%u\n",count/100);
259245
}else{
260246
printf("\n\x1b[30;1m YOUR CONSOLE WILL BE COMPLETELY CLEANED: SAVES, GAMES, ETC \x1b[0m\n");
261247
printf("\n\x1b[30;1m IF YOU DON'T KNOW WHAT YOU DO, PRESS + NOW \x1b[0m\n");
262248
printf("\n\x1b[30;1m A HARD RESET WILL BE PERFORMED IN BRIEF AFTER THE CONSOLE WILL BE OFF \x1b[0m\n");
263249
printf("\n\n\x1b[30;1m-------- I WILL CONSUME EVERYTHING --------\x1b[0m\n\n");
264250
printf("PRESS + TO CANCEL\n\n");
265-
printf("\x1b[31;1m*\x1b[0m COUNTDOWN-%u\n",count);
251+
printf("\x1b[31;1m*\x1b[0m COUNTDOWN-%u\n",count/100);
266252
}
267253
consoleUpdate(NULL);
268254
}
@@ -273,6 +259,10 @@ appletBeginBlockingHomeButton(0);
273259
socketExit();
274260
fsdevUnmountAll();
275261
appletEndBlockingHomeButton();
262+
pmshellInitialize();
263+
pmshellTerminateProcessByTitleId(0x05229B5E9D160000);//haku33
264+
pmshellTerminateProcessByTitleId(0x0104444444441001);//haku33
265+
pmshellExit();
276266
while (appletMainLoop())
277267
{
278268
consoleInit(NULL);

0 commit comments

Comments
 (0)