Skip to content

Commit 4364101

Browse files
Release v1.96
1 parent 2c79715 commit 4364101

10 files changed

Lines changed: 25 additions & 42 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
# Changelog
22

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

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

1016
### Changelog 1.94
11-
1217
- Added ability to umount all partitions that you can mount.
1318
- Fixed crash when using StorageMgr.
1419

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ project(VitaShell)
1414
include("${VITASDK}/share/vita.cmake" REQUIRED)
1515
set(VITA_APP_NAME "VitaShell")
1616
set(VITA_TITLEID "VITASHELL")
17-
set(VITA_VERSION "01.95")
17+
set(VITA_VERSION "01.96")
1818

1919
# Flags and includes
2020
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -O3 -Wno-unused-variable -Wno-unused-but-set-variable -Wno-format-truncation -fno-lto")

main.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
// VitaShell version major.minor
5656
#define VITASHELL_VERSION_MAJOR 0x01
57-
#define VITASHELL_VERSION_MINOR 0x95
57+
#define VITASHELL_VERSION_MINOR 0x96
5858

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

pkg/sce_sys/livearea/contents/template.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<frame id="frame4">
2929
<liveitem>
3030
<text align="left" text-align="left" word-wrap="off" ellipsis="on">
31-
<str size="18" color="#ffffff" shadow="on">v1.95</str>
31+
<str size="18" color="#ffffff" shadow="on">v1.96</str>
3232
</text>
3333
</liveitem>
3434
</frame>

release/VitaShell.vpk

33 Bytes
Binary file not shown.

release/eboot.bin

18 Bytes
Binary file not shown.

release/param.sfo

0 Bytes
Binary file not shown.

release/template.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<frame id="frame4">
2929
<liveitem>
3030
<text align="left" text-align="left" word-wrap="off" ellipsis="on">
31-
<str size="18" color="#ffffff" shadow="on">v1.95</str>
31+
<str size="18" color="#ffffff" shadow="on">v1.96</str>
3232
</text>
3333
</liveitem>
3434
</frame>

release/version.bin

0 Bytes
Binary file not shown.

usb.c

Lines changed: 14 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -132,20 +132,6 @@ int umountUsbUx0() {
132132
return 0;
133133
}
134134

135-
int remount_uma0 = 0, remount_xmc0 = 0, remount_imc0 = 0, remount_ux0 = 0;
136-
137-
void remount_partitions() {
138-
if (remount_ux0)
139-
vshIoMount(0x800, NULL, 0, 0, 0, 0);
140-
if (remount_imc0)
141-
vshIoMount(0xD00, NULL, 0, 0, 0, 0);
142-
if (remount_xmc0)
143-
vshIoMount(0xE00, NULL, 0, 0, 0, 0);
144-
if (remount_uma0)
145-
vshIoMount(0xF00, NULL, 0, 0, 0, 0);
146-
remount_uma0 = remount_xmc0 = remount_imc0 = remount_ux0 = 0;
147-
}
148-
149135
SceUID startUsb(const char *usbDevicePath, const char *imgFilePath, int type) {
150136
SceUID modid = -1;
151137
int res;
@@ -175,25 +161,6 @@ SceUID startUsb(const char *usbDevicePath, const char *imgFilePath, int type) {
175161
if (res < 0)
176162
goto ERROR_USBSTOR_VSTOR;
177163

178-
// Umount all partitions
179-
remount_uma0 = remount_xmc0 = remount_imc0 = remount_ux0 = 0;
180-
if (checkFolderExist("uma0:")) {
181-
vshIoUmount(0xF00, 0, 0, 0);
182-
remount_uma0 = 1;
183-
}
184-
if (checkFolderExist("xmc0:")) {
185-
vshIoUmount(0xE00, 0, 0, 0);
186-
remount_xmc0 = 1;
187-
}
188-
if (checkFolderExist("imc0:")) {
189-
vshIoUmount(0xD00, 0, 0, 0);
190-
remount_imc0 = 1;
191-
}
192-
if (checkFolderExist("ux0:")) {
193-
vshIoUmount(0x800, 0, 0, 0);
194-
remount_ux0 = 1;
195-
}
196-
197164
// Start USB storage
198165
res = sceUsbstorVStorStart(type);
199166
if (res < 0)
@@ -202,7 +169,6 @@ SceUID startUsb(const char *usbDevicePath, const char *imgFilePath, int type) {
202169
return modid;
203170

204171
ERROR_USBSTOR_VSTOR:
205-
remount_partitions();
206172
sceMtpIfStartDriver(1);
207173

208174
ERROR_STOP_DRIVER:
@@ -230,8 +196,20 @@ int stopUsb(SceUID modid) {
230196
if (res < 0)
231197
return res;
232198

233-
// Remount partitions
234-
remount_partitions();
199+
// Remount Memory Card
200+
remount(0x800);
201+
202+
// Remount imc0:
203+
if (checkFolderExist("imc0:"))
204+
remount(0xD00);
205+
206+
// Remount xmc0:
207+
if (checkFolderExist("xmc0:"))
208+
remount(0xE00);
209+
210+
// Remount uma0:
211+
if (checkFolderExist("uma0:"))
212+
remount(0xF00);
235213

236214
return 0;
237215
}

0 commit comments

Comments
 (0)