Skip to content

Commit ca0891f

Browse files
feat: update default retroarch-emscripten-build version to v1.21.0
1 parent 1103bd7 commit ca0891f

File tree

7 files changed

+258
-232
lines changed

7 files changed

+258
-232
lines changed

docs/src/content/docs/apis/launch.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ const nostalgist = await Nostalgist.launch({
8787
If you pass a `string` here, by default, we will look up the corresponding core at this GitHub repository [retroarch-emscripten-build](https://github.com/arianrhodsandlot/retroarch-emscripten-build), which contains the official build cores from [libretro buildbot](https://buildbot.libretro.com/stable/), and then the core will be loaded via jsDelivr, a public free CDN that can load files from GitHub with CORS support.
8888

8989
For example, if you pass `snes9x` here, these 2 files will be loaded:
90-
+ [snes9x_libretro.js](https://cdn.jsdelivr.net/gh/arianrhodsandlot/retroarch-emscripten-build@v1.20.0/retroarch/snes9x_libretro.js)
91-
+ [snes9x_libretro.wasm](https://cdn.jsdelivr.net/gh/arianrhodsandlot/retroarch-emscripten-build@v1.20.0/retroarch/snes9x_libretro.wasm)
90+
+ [snes9x_libretro.js](https://cdn.jsdelivr.net/gh/arianrhodsandlot/retroarch-emscripten-build@v1.21.0/retroarch/snes9x_libretro.js)
91+
+ [snes9x_libretro.wasm](https://cdn.jsdelivr.net/gh/arianrhodsandlot/retroarch-emscripten-build@v1.21.0/retroarch/snes9x_libretro.wasm)
9292

9393
That's because there is a default `resolveCoreJs` option that can resolve `string`s like `snes9x` to links above. By default, we support these cores from [retroarch-emscripten-build](https://github.com/arianrhodsandlot/retroarch-emscripten-build):
9494
> 2048, arduous, bk, bluemsx, chailove, craft, ecwolf, fbalpha2012_cps1, fbalpha2012_cps2, fbalpha2012, fbalpha2012_neogeo, fceumm, freechaf, galaksija, gambatte, gearboy, gearcoleco, gearsystem, genesis_plus_gx, genesis_plus_gx_wide, gme, gong, gw, handy, jaxe, jumpnbump, lowresnx, lutro, mame2000, mame2003, mame2003_plus, mednafen_lynx, mednafen_ngp, mednafen_pce_fast, mednafen_vb, mednafen_wswan, mgba, minivmac, mrboom, mu, neocd, nestopia, numero, nxengine, o2em, opera, pcsx_rearmed, picodrive, pocketcdg, prboom, quasi88, quicknes, retro8, snes9x2002, snes9x2005, snes9x2010, snes9x, squirreljme, tgbdual, theodore, tic80, tyrquake, uw8, uzem, vaporspec, vba_next, vecx, vice_x128, vice_x64, vice_x64sc, vice_xcbm2, vice_xcbm5x0, vice_xpet, vice_xplus4, vice_xscpu64, vice_xvic, virtualxt, vitaquake2-rogue, vitaquake2-xatrix, vitaquake2-zaero, vitaquake2, wasm4, x1, xrick

docs/src/content/docs/guides/under-the-hood.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Nostalgist.js itself doesn't contain any emulators, but it has reasonable defaul
1212
[retrobrews](https://retrobrews.github.io/) project without additional configuration.
1313

1414
By default, cores will be loaded via [fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) from [retroarch-emscripten-build](https://github.com/arianrhodsandlot/retroarch-emscripten-build) through [jsDelivr](https://www.jsdelivr.com). For example, the fceumm core, an NES emulator, will be loaded from these URLs:
15-
+ https://cdn.jsdelivr.net/gh/arianrhodsandlot/retroarch-emscripten-build@v1.20.0/retroarch/fceumm_libretro.js
16-
+ https://cdn.jsdelivr.net/gh/arianrhodsandlot/retroarch-emscripten-build@v1.20.0/retroarch/fceumm_libretro.wasm
15+
+ https://cdn.jsdelivr.net/gh/arianrhodsandlot/retroarch-emscripten-build@v1.21.0/retroarch/fceumm_libretro.js
16+
+ https://cdn.jsdelivr.net/gh/arianrhodsandlot/retroarch-emscripten-build@v1.21.0/retroarch/fceumm_libretro.wasm
1717

1818
Games from [retrobrews](https://retrobrews.github.io/) are loaded in a similar way too. And of course you can also load all the necessary contents by yourself.
1919

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,16 @@
6262
"devDependencies": {
6363
"@arianrhodsandlot/eslint-config": "0.19.0",
6464
"@arianrhodsandlot/release-kit": "0.1.7",
65-
"@astrojs/starlight": "0.34.2",
65+
"@astrojs/starlight": "0.34.3",
6666
"@happy-dom/global-registrator": "17.4.6",
6767
"@playwright/test": "1.52.0",
6868
"@types/is-ci": "3.0.4",
69-
"@types/node": "22.15.11",
69+
"@types/node": "22.15.17",
7070
"@types/wicg-file-system-access": "2023.10.6",
71-
"astro": "5.7.10",
71+
"astro": "5.7.12",
7272
"eslint": "9.26.0",
7373
"ini": "5.0.0",
74-
"lint-staged": "15.5.1",
74+
"lint-staged": "15.5.2",
7575
"path-browserify": "1.0.1",
7676
"simple-git-hooks": "2.13.0",
7777
"typescript": "5.8.3",

playground/activate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const cdnBaseUrl = 'https://cdn.jsdelivr.net/gh'
1010
const useLegacyCore = location.search.includes('legacy')
1111
const coreRepo = 'arianrhodsandlot/retroarch-emscripten-build'
1212
const nesRomRepo = 'retrobrews/nes-games'
13-
const coreVersion = useLegacyCore ? 'v1.16.0' : 'v1.20.0'
13+
const coreVersion = useLegacyCore ? 'v1.16.0' : 'v1.21.0'
1414
const coreDirectory = 'retroarch'
1515

1616
const handlers = {

0 commit comments

Comments
 (0)