Update main.c

This commit is contained in:
Bluzume 2021-08-21 20:01:39 +12:00
parent 7b0b83c1cc
commit a03de8541b
1 changed files with 2 additions and 0 deletions

View File

@ -167,6 +167,7 @@ int backup_act()
if(backup_pd0){ if(backup_pd0){
silIoUmount(0xC00, 0); silIoUmount(0xC00, 0);
silIoUmount(0xC00, 1);
silIoMount(0xC00, 2); silIoMount(0xC00, 2);
} }
sceIoMkdir("ux0:/data", 0777); sceIoMkdir("ux0:/data", 0777);
@ -198,6 +199,7 @@ int backup_act()
if(backup_pd0) if(backup_pd0)
{ {
silIoUmount(0xC00, 0); silIoUmount(0xC00, 0);
silIoUmount(0xC00, 1);
silIoMount(0xC00, 1); silIoMount(0xC00, 1);
} }
printf("Done, backup at "); printf("Done, backup at ");