mirror of
https://github.com/joel16/VitaShell.git
synced 2024-11-26 21:30:45 +00:00
Release v1.96
This commit is contained in:
parent
2c7971504b
commit
4364101491
@ -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.
|
||||
|
||||
|
@ -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")
|
||||
|
2
main.h
2
main.h
@ -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))
|
||||
|
||||
|
@ -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>
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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>
|
||||
|
Binary file not shown.
50
usb.c
50
usb.c
@ -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;
|
||||
@ -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)
|
||||
@ -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:
|
||||
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user