Skip to content

Commit

Permalink
Give VitaShell more permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOfficialFloW committed Sep 17, 2017
1 parent f1fd0cd commit d149bcd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ set(VITA_VERSION "01.70")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -O3 -Wno-unused-variable -Wno-unused-but-set-variable -Wno-format-truncation -fno-lto")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fno-rtti -fno-exceptions")
set(VITA_MKSFOEX_FLAGS "${VITA_MKSFOEX_FLAGS} -d PARENTAL_LEVEL=1")
set(VITA_MAKE_FSELF_FLAGS "${VITA_MAKE_FSELF_FLAGS} -a 0x2800000000000001")
set(VITA_MAKE_FSELF_FLAGS "${VITA_MAKE_FSELF_FLAGS} -a 0x2808000000000000")

include_directories(
)
Expand Down
4 changes: 2 additions & 2 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ static void initUsb() {
path = "sdstor0:gcd-lp-ign-gamero";
else
infoDialog(language_container[GAME_CARD_NOT_FOUND]);
} else if (vitashell_config.usbdevice == USBDEVICE_MODE_SD2VITA) { // TODO: Fix this
} else if (vitashell_config.usbdevice == USBDEVICE_MODE_SD2VITA) {
if (checkFileExist("sdstor0:gcd-lp-ign-entire"))
path = "sdstor0:gcd-lp-ign-entire";
else
Expand All @@ -513,7 +513,7 @@ static void initUsb() {
else
infoDialog(language_container[MICROSD_NOT_FOUND]);
}

if (!path)
return;

Expand Down
1 change: 1 addition & 0 deletions usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include "utils.h"

static int remount_thread(SceSize args, void *argp) {
sceKernelDelayThread(10 * 1000);
if (checkFolderExist("ux0:"))
remount(0x800);
return sceKernelExitDeleteThread(0);
Expand Down

0 comments on commit d149bcd

Please sign in to comment.