Skip to content

Commit

Permalink
Release v1.96
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOfficialFloW committed Sep 12, 2018
1 parent 2c79715 commit 4364101
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 42 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
# Changelog

### Changelog 1.95
### Changelog 1.96
- Added ability to skip pages in file browser and SFO viewer using L/R triggers.
(QR download has been temporarily removed and will be reimplemented later).
- Added ability to move files between partitions by copying&removing.
- Fixed bug where the option to disable warning message was not saved.
- Undone usb changes because people reported an issue with vpk installation with it.

### Changelog 1.95
- Added option to disable warning messages when installing vpks.
- Fixed bug in USB connection, where your Memory Card could be corrupted.
- Fixed line breaks in SFO files and long names will now scroll.
- Fixed compatibility with `udcd_uvc.skprx ` thanks to xerpi.

### Changelog 1.94

- Added ability to umount all partitions that you can mount.
- Fixed crash when using StorageMgr.

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ project(VitaShell)
include("${VITASDK}/share/vita.cmake" REQUIRED)
set(VITA_APP_NAME "VitaShell")
set(VITA_TITLEID "VITASHELL")
set(VITA_VERSION "01.95")
set(VITA_VERSION "01.96")

# Flags and includes
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -O3 -Wno-unused-variable -Wno-unused-but-set-variable -Wno-format-truncation -fno-lto")
Expand Down
2 changes: 1 addition & 1 deletion main.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

// VitaShell version major.minor
#define VITASHELL_VERSION_MAJOR 0x01
#define VITASHELL_VERSION_MINOR 0x95
#define VITASHELL_VERSION_MINOR 0x96

#define VITASHELL_VERSION ((VITASHELL_VERSION_MAJOR << 0x18) | (VITASHELL_VERSION_MINOR << 0x10))

Expand Down
2 changes: 1 addition & 1 deletion pkg/sce_sys/livearea/contents/template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<frame id="frame4">
<liveitem>
<text align="left" text-align="left" word-wrap="off" ellipsis="on">
<str size="18" color="#ffffff" shadow="on">v1.95</str>
<str size="18" color="#ffffff" shadow="on">v1.96</str>
</text>
</liveitem>
</frame>
Expand Down
Binary file modified release/VitaShell.vpk
Binary file not shown.
Binary file modified release/eboot.bin
Binary file not shown.
Binary file modified release/param.sfo
Binary file not shown.
2 changes: 1 addition & 1 deletion release/template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<frame id="frame4">
<liveitem>
<text align="left" text-align="left" word-wrap="off" ellipsis="on">
<str size="18" color="#ffffff" shadow="on">v1.95</str>
<str size="18" color="#ffffff" shadow="on">v1.96</str>
</text>
</liveitem>
</frame>
Expand Down
Binary file modified release/version.bin
Binary file not shown.
50 changes: 14 additions & 36 deletions usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,20 +132,6 @@ int umountUsbUx0() {
return 0;
}

int remount_uma0 = 0, remount_xmc0 = 0, remount_imc0 = 0, remount_ux0 = 0;

void remount_partitions() {
if (remount_ux0)
vshIoMount(0x800, NULL, 0, 0, 0, 0);
if (remount_imc0)
vshIoMount(0xD00, NULL, 0, 0, 0, 0);
if (remount_xmc0)
vshIoMount(0xE00, NULL, 0, 0, 0, 0);
if (remount_uma0)
vshIoMount(0xF00, NULL, 0, 0, 0, 0);
remount_uma0 = remount_xmc0 = remount_imc0 = remount_ux0 = 0;
}

SceUID startUsb(const char *usbDevicePath, const char *imgFilePath, int type) {
SceUID modid = -1;
int res;
Expand Down Expand Up @@ -175,25 +161,6 @@ SceUID startUsb(const char *usbDevicePath, const char *imgFilePath, int type) {
if (res < 0)
goto ERROR_USBSTOR_VSTOR;

// Umount all partitions
remount_uma0 = remount_xmc0 = remount_imc0 = remount_ux0 = 0;
if (checkFolderExist("uma0:")) {
vshIoUmount(0xF00, 0, 0, 0);
remount_uma0 = 1;
}
if (checkFolderExist("xmc0:")) {
vshIoUmount(0xE00, 0, 0, 0);
remount_xmc0 = 1;
}
if (checkFolderExist("imc0:")) {
vshIoUmount(0xD00, 0, 0, 0);
remount_imc0 = 1;
}
if (checkFolderExist("ux0:")) {
vshIoUmount(0x800, 0, 0, 0);
remount_ux0 = 1;
}

// Start USB storage
res = sceUsbstorVStorStart(type);
if (res < 0)
Expand All @@ -202,7 +169,6 @@ SceUID startUsb(const char *usbDevicePath, const char *imgFilePath, int type) {
return modid;

ERROR_USBSTOR_VSTOR:
remount_partitions();
sceMtpIfStartDriver(1);

ERROR_STOP_DRIVER:
Expand Down Expand Up @@ -230,8 +196,20 @@ int stopUsb(SceUID modid) {
if (res < 0)
return res;

// Remount partitions
remount_partitions();
// Remount Memory Card
remount(0x800);

// Remount imc0:
if (checkFolderExist("imc0:"))
remount(0xD00);

// Remount xmc0:
if (checkFolderExist("xmc0:"))
remount(0xE00);

// Remount uma0:
if (checkFolderExist("uma0:"))
remount(0xF00);

return 0;
}

0 comments on commit 4364101

Please sign in to comment.