Skip to content

Commit

Permalink
Changed default width
Browse files Browse the repository at this point in the history
Fixed no keys file detection
Updated titles/versions json
  • Loading branch information
giwty authored and giwty committed Jul 13, 2020
1 parent 1493e2a commit 4b7e0d1
Show file tree
Hide file tree
Showing 4 changed files with 756,654 additions and 751,744 deletions.
2 changes: 1 addition & 1 deletion db/localSwitchFilesDB.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func GetGameMetadata(file os.FileInfo, filePath string) (*switchfs.ContentMetaAt
var err error

//currently only NSP files are supported
if keys != nil && strings.HasSuffix(file.Name(), "nsp") {
if keys != nil && keys.GetKey("header_key") != "" && strings.HasSuffix(file.Name(), "nsp") {
metadata, err = switchfs.ReadNspMetadata(filePath)
if err != nil {
fmt.Printf("\n[file:%v] failed to read NSP [reason: %v]\n", file.Name(), err)
Expand Down
Loading

0 comments on commit 4b7e0d1

Please sign in to comment.