Skip to content

Commit

Permalink
Release v1.99
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOfficialFloW committed Aug 26, 2019
1 parent a2d64d4 commit cbd823b
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 9 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

### Changelog 1.99
- Added support for FW 3.71.

### Changelog 1.98
- Improved "Refresh LiveArea". Thanks to TheRadziu.

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
6 changes: 3 additions & 3 deletions audioplayer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
3 changes: 2 additions & 1 deletion io_process.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion main.h
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down
3 changes: 2 additions & 1 deletion main_context.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion pkg/sce_sys/livearea/contents/template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Binary file modified release/VitaShell.vpk
Binary file not shown.
Binary file modified release/eboot.bin
Binary file not shown.
Binary file modified release/param.sfo
Binary file not shown.
2 changes: 1 addition & 1 deletion release/template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Binary file modified release/version.bin
Binary file not shown.

0 comments on commit cbd823b

Please sign in to comment.