mirror of
https://github.com/JesseTG/melonds-ds.git
synced 2025-02-19 21:52:01 +00:00
Fix #108
This commit is contained in:
parent
9f73b083fd
commit
b3597cb9b0
25
.github/workflows/check-urls.yaml
vendored
Normal file
25
.github/workflows/check-urls.yaml
vendored
Normal file
@ -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/urlchecker-action@0.0.34
|
||||
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/
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user