Skip to content

Commit

Permalink
docs: fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
arianrhodsandlot committed Jan 4, 2024
1 parent e21b35a commit 2a093cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/src/content/docs/apis/launch.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ const nostalgist = await Nostalgist.launch({
},

// Specify where to load the ROM files
resolveRom({ file }) {
resolveRom(file) {
return `https://example.com/roms/${file}`
},

// Specify where to load the BIOS files
resolveBios({ file }) {
return `https://example.com/system/${file}`
resolveBios(bios) {
return `https://example.com/system/${bios}`
},
})
```
Expand Down
6 changes: 3 additions & 3 deletions src/nostalgist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ export class Nostalgist {
* resolveCoreWasm(core) {
* return `https://example.com/core/${core}_libretro.wasm`
* },
* resolveRom({ file }) {
* resolveRom(file) {
* return `https://example.com/roms/${file}`
* },
* resolveBios({ file }) {
* return `https://example.com/system/${file}`
* resolveBios(bios) {
* return `https://example.com/system/${bios}`
* },
* })
* ```
Expand Down

0 comments on commit 2a093cb

Please sign in to comment.