Skip to content
Snippets Groups Projects
Verified Commit eb7ad5f1 authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

docs: small fixes

parent a573666b
No related branches found
No related tags found
No related merge requests found
Pipeline #1623 passed
......@@ -57,8 +57,9 @@ You can use some GET parameters to control the initial behaviour of the emulator
| Parameter | Type | Description |
| ------------ | ------- | ---------------------------------------------------------------------------------------------- |
| `rom_url` | String | The URL from which the initial ROM is going to be loaded, should support CORS. |
| `url` | String | The same as `url`. |
| `url` | String | The same as `rom_url`. |
| `fullscreen` | Boolean | If the emulator should start in fullscreen mode. |
| `fs` | Boolean | The same as `fullscreen`. |
| `debug` | Boolean | If the "debugger" should start visible. |
| `keyboard` | Boolean | If the on screen keyboard should start visible. |
| `palette` | String | The name of the palette to be set at startup( eg: `christmas`, `hogwards`, `mariobros`, etc.). |
......
......@@ -17,7 +17,7 @@ const BACKGROUNDS = [
const params = new URLSearchParams(window.location.search);
const romUrl = params.get("rom_url") ?? params.get("url") ?? undefined;
const fullscreen = ["1", "true", "True"].includes(
params.get("fullscreen") ?? ""
params.get("fullscreen") ?? params.get("fs") ?? ""
);
const debug = ["1", "true", "True"].includes(params.get("debug") ?? "");
const keyboard = ["1", "true", "True"].includes(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment