Release v1.96

This commit is contained in:
TheFloW 2018-09-12 11:18:27 +02:00
parent 2c7971504b
commit 4364101491
10 changed files with 25 additions and 42 deletions

View File

@ -1,14 +1,19 @@
# Changelog # 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. - Added option to disable warning messages when installing vpks.
- Fixed bug in USB connection, where your Memory Card could be corrupted. - 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 line breaks in SFO files and long names will now scroll.
- Fixed compatibility with `udcd_uvc.skprx ` thanks to xerpi. - Fixed compatibility with `udcd_uvc.skprx ` thanks to xerpi.
### Changelog 1.94 ### Changelog 1.94
- Added ability to umount all partitions that you can mount. - Added ability to umount all partitions that you can mount.
- Fixed crash when using StorageMgr. - Fixed crash when using StorageMgr.

View File

@ -14,7 +14,7 @@ project(VitaShell)
include("${VITASDK}/share/vita.cmake" REQUIRED) include("${VITASDK}/share/vita.cmake" REQUIRED)
set(VITA_APP_NAME "VitaShell") set(VITA_APP_NAME "VitaShell")
set(VITA_TITLEID "VITASHELL") set(VITA_TITLEID "VITASHELL")
set(VITA_VERSION "01.95") set(VITA_VERSION "01.96")
# Flags and includes # 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") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -O3 -Wno-unused-variable -Wno-unused-but-set-variable -Wno-format-truncation -fno-lto")

2
main.h
View File

@ -54,7 +54,7 @@
// VitaShell version major.minor // VitaShell version major.minor
#define VITASHELL_VERSION_MAJOR 0x01 #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)) #define VITASHELL_VERSION ((VITASHELL_VERSION_MAJOR << 0x18) | (VITASHELL_VERSION_MINOR << 0x10))

View File

@ -28,7 +28,7 @@
<frame id="frame4"> <frame id="frame4">
<liveitem> <liveitem>
<text align="left" text-align="left" word-wrap="off" ellipsis="on"> <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> </text>
</liveitem> </liveitem>
</frame> </frame>

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -28,7 +28,7 @@
<frame id="frame4"> <frame id="frame4">
<liveitem> <liveitem>
<text align="left" text-align="left" word-wrap="off" ellipsis="on"> <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> </text>
</liveitem> </liveitem>
</frame> </frame>

Binary file not shown.

50
usb.c
View File

@ -132,20 +132,6 @@ int umountUsbUx0() {
return 0; 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 startUsb(const char *usbDevicePath, const char *imgFilePath, int type) {
SceUID modid = -1; SceUID modid = -1;
int res; int res;
@ -175,25 +161,6 @@ SceUID startUsb(const char *usbDevicePath, const char *imgFilePath, int type) {
if (res < 0) if (res < 0)
goto ERROR_USBSTOR_VSTOR; 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 // Start USB storage
res = sceUsbstorVStorStart(type); res = sceUsbstorVStorStart(type);
if (res < 0) if (res < 0)
@ -202,7 +169,6 @@ SceUID startUsb(const char *usbDevicePath, const char *imgFilePath, int type) {
return modid; return modid;
ERROR_USBSTOR_VSTOR: ERROR_USBSTOR_VSTOR:
remount_partitions();
sceMtpIfStartDriver(1); sceMtpIfStartDriver(1);
ERROR_STOP_DRIVER: ERROR_STOP_DRIVER:
@ -230,8 +196,20 @@ int stopUsb(SceUID modid) {
if (res < 0) if (res < 0)
return res; return res;
// Remount partitions // Remount Memory Card
remount_partitions(); 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; return 0;
} }