mirror of
https://github.com/joel16/VitaShell.git
synced 2024-11-23 03:39:39 +00:00
Release v1.99
This commit is contained in:
parent
a2d64d4958
commit
cbd823b2f0
@ -1,5 +1,8 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
### Changelog 1.99
|
||||||
|
- Added support for FW 3.71.
|
||||||
|
|
||||||
### Changelog 1.98
|
### Changelog 1.98
|
||||||
- Improved "Refresh LiveArea". Thanks to TheRadziu.
|
- Improved "Refresh LiveArea". Thanks to TheRadziu.
|
||||||
|
|
||||||
|
@ -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.98")
|
set(VITA_VERSION "01.99")
|
||||||
|
|
||||||
# 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")
|
||||||
|
@ -92,9 +92,9 @@ void drawLyrics(Lyrics* lyrics, const char *cur_time_string, uint64_t* totalms,
|
|||||||
char minuteString[3];
|
char minuteString[3];
|
||||||
char secondString[3];
|
char secondString[3];
|
||||||
|
|
||||||
strncpy(hourString,cur_time_string,sizeof(hourString));
|
strncpy(hourString,cur_time_string,sizeof(hourString)-1);
|
||||||
strncpy(minuteString,cur_time_string + 3,sizeof(minuteString));
|
strncpy(minuteString,cur_time_string + 3,sizeof(minuteString)-1);
|
||||||
strncpy(secondString,cur_time_string + 6,sizeof(secondString));
|
strncpy(secondString,cur_time_string + 6,sizeof(secondString)-1);
|
||||||
|
|
||||||
*totalms = (((atoi(hourString) * 60) + atoi(minuteString)) * 60 + atoi(secondString)) * 1000;
|
*totalms = (((atoi(hourString) * 60) + atoi(minuteString)) * 60 + atoi(secondString)) * 1000;
|
||||||
|
|
||||||
|
@ -467,7 +467,8 @@ static int exportMedia(char *path, uint32_t *songs, uint32_t *videos, uint32_t *
|
|||||||
} else if (type == FILE_TYPE_MP4) {
|
} else if (type == FILE_TYPE_MP4) {
|
||||||
VideoExportInputParam in_param;
|
VideoExportInputParam in_param;
|
||||||
memset(&in_param, 0, sizeof(VideoExportInputParam));
|
memset(&in_param, 0, sizeof(VideoExportInputParam));
|
||||||
strncpy(in_param.path, path, MAX_PATH_LENGTH);
|
strncpy(in_param.path, path, MAX_PATH_LENGTH-1);
|
||||||
|
in_param.path[MAX_PATH_LENGTH-1] = '\0';
|
||||||
|
|
||||||
VideoExportOutputParam out_param;
|
VideoExportOutputParam out_param;
|
||||||
memset(&out_param, 0, sizeof(VideoExportOutputParam));
|
memset(&out_param, 0, sizeof(VideoExportOutputParam));
|
||||||
|
2
main.h
2
main.h
@ -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 0x98
|
#define VITASHELL_VERSION_MINOR 0x99
|
||||||
|
|
||||||
#define VITASHELL_VERSION ((VITASHELL_VERSION_MAJOR << 0x18) | (VITASHELL_VERSION_MINOR << 0x10))
|
#define VITASHELL_VERSION ((VITASHELL_VERSION_MAJOR << 0x18) | (VITASHELL_VERSION_MINOR << 0x10))
|
||||||
|
|
||||||
|
@ -1310,7 +1310,8 @@ static int contextMenuNewEnterCallback(int sel, void *context) {
|
|||||||
snprintf(cur_file, MAX_PATH_LENGTH, "%s%s", file_list.path, file_entry->name);
|
snprintf(cur_file, MAX_PATH_LENGTH, "%s%s", file_list.path, file_entry->name);
|
||||||
char target[MAX_PATH_LENGTH];
|
char target[MAX_PATH_LENGTH];
|
||||||
char name[MAX_PATH_LENGTH];
|
char name[MAX_PATH_LENGTH];
|
||||||
strncpy(name, file_entry->name, MAX_PATH_LENGTH);
|
strncpy(name, file_entry->name, MAX_PATH_LENGTH-1);
|
||||||
|
name[MAX_PATH_LENGTH-1] = '\0';
|
||||||
removeEndSlash(name);
|
removeEndSlash(name);
|
||||||
snprintf(target, MAX_PATH_LENGTH, "%s%s."SYMLINK_EXT, VITASHELL_BOOKMARKS_PATH, name);
|
snprintf(target, MAX_PATH_LENGTH, "%s%s."SYMLINK_EXT, VITASHELL_BOOKMARKS_PATH, name);
|
||||||
int res;
|
int res;
|
||||||
|
@ -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.98</str>
|
<str size="18" color="#ffffff" shadow="on">v1.99</str>
|
||||||
</text>
|
</text>
|
||||||
</liveitem>
|
</liveitem>
|
||||||
</frame>
|
</frame>
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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.98</str>
|
<str size="18" color="#ffffff" shadow="on">v1.99</str>
|
||||||
</text>
|
</text>
|
||||||
</liveitem>
|
</liveitem>
|
||||||
</frame>
|
</frame>
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user