From 99b01457999ca86e43bcf630d6c36a3c6f32262f Mon Sep 17 00:00:00 2001 From: Joey Parrish Date: Sun, 13 Oct 2024 17:11:16 -0700 Subject: [PATCH] docs: Fix launch args for custom cores I tried building a demo with a custom core based on the snippet from the docs, and only discovered the typo (the inner `core` should say `js`) after spending some time in the debugger. --- docs/src/content/docs/apis/launch.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/content/docs/apis/launch.md b/docs/src/content/docs/apis/launch.md index 20a2d6a..fb3bf3c 100644 --- a/docs/src/content/docs/apis/launch.md +++ b/docs/src/content/docs/apis/launch.md @@ -92,7 +92,7 @@ const nostalgist = await Nostalgist.launch({ ```js await Nostalgist.launch({ core: { - core: 'https://example.com/cores/snes9x.js', + js: 'https://example.com/cores/snes9x.js', name: 'snes9x', wasm: 'https://example.com/cores/snes9x.wasm', },