Release v1.99

This commit is contained in:
TheFloW 2019-08-26 14:00:49 +02:00
parent a2d64d4958
commit cbd823b2f0
12 changed files with 14 additions and 9 deletions

View File

@ -1,5 +1,8 @@
# Changelog
### Changelog 1.99
- Added support for FW 3.71.
### Changelog 1.98
- Improved "Refresh LiveArea". Thanks to TheRadziu.

View File

@ -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.98")
set(VITA_VERSION "01.99")
# 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")

View File

@ -92,9 +92,9 @@ void drawLyrics(Lyrics* lyrics, const char *cur_time_string, uint64_t* totalms,
char minuteString[3];
char secondString[3];
strncpy(hourString,cur_time_string,sizeof(hourString));
strncpy(minuteString,cur_time_string + 3,sizeof(minuteString));
strncpy(secondString,cur_time_string + 6,sizeof(secondString));
strncpy(hourString,cur_time_string,sizeof(hourString)-1);
strncpy(minuteString,cur_time_string + 3,sizeof(minuteString)-1);
strncpy(secondString,cur_time_string + 6,sizeof(secondString)-1);
*totalms = (((atoi(hourString) * 60) + atoi(minuteString)) * 60 + atoi(secondString)) * 1000;

View File

@ -467,7 +467,8 @@ static int exportMedia(char *path, uint32_t *songs, uint32_t *videos, uint32_t *
} else if (type == FILE_TYPE_MP4) {
VideoExportInputParam in_param;
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;
memset(&out_param, 0, sizeof(VideoExportOutputParam));

2
main.h
View File

@ -54,7 +54,7 @@
// VitaShell version major.minor
#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))

View File

@ -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);
char target[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);
snprintf(target, MAX_PATH_LENGTH, "%s%s."SYMLINK_EXT, VITASHELL_BOOKMARKS_PATH, name);
int res;

View File

@ -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.98</str>
<str size="18" color="#ffffff" shadow="on">v1.99</str>
</text>
</liveitem>
</frame>

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -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.98</str>
<str size="18" color="#ffffff" shadow="on">v1.99</str>
</text>
</liveitem>
</frame>

Binary file not shown.