Skip to content

Commit

Permalink
Fix #108
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseTG committed Nov 1, 2023
1 parent 9f73b08 commit b3597cb
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/check-urls.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Validate URLs

on:
push:
branches:
- main
paths: ["**.md", "**.yaml", "**.yml", "**.cpp", "**.hpp", "**.cmake", "**.txt"]
schedule:
- cron: "0 0 * * *" # Run every day at midnight UTC

jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Check Out Source
uses: actions/checkout@v3

- name: Validate URLs
uses: urlstechie/[email protected]
with:
file_types: .md,.yaml,.yml,.cpp,.hpp,.cmake,.txt
print_all: false
timeout: 10
retry_count: 3
exclude_patterns: http://nus.cdn.t.shop.nintendowifi.net/ccs/download/%08x%08x/tmd,http://www.gnu.org/licenses/
1 change: 1 addition & 0 deletions src/libretro/dsi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ bool melonds::dsi::get_tmd(const NDSHeader &header, TitleMetadata &tmd, const ch
snprintf(url, sizeof(url), "http://nus.cdn.t.shop.nintendowifi.net/ccs/download/%08x%08x/tmd",
header.DSiTitleIDHigh, header.DSiTitleIDLow);
// The URL comes from here https://problemkaputt.de/gbatek.htm#dsisdmmcdsiwarefilesfromnintendosserver
// Example: http://nus.cdn.t.shop.nintendowifi.net/ccs/download/00030015484e4250/tmd

info("Downloading title metadata from \"{}\"", url);

Expand Down

0 comments on commit b3597cb

Please sign in to comment.