EmulatorJS/docs/SNES.md

53 lines
701 B
Markdown
Raw Normal View History

2022-03-26 20:44:57 +00:00
# SNES
2021-12-20 16:30:29 +00:00
2022-03-26 20:44:57 +00:00
There is no bios for this system.
## Code example
```html
<div style='width:640px;height:480px;max-width:100%'>
<div id='game'></div>
</div>
<script type='text/javascript'>
2021-12-20 16:30:29 +00:00
EJS_player = '#game';
EJS_core = 'snes';
2022-03-26 20:44:57 +00:00
// SNES Mouse
EJS_mouse = false;
// SNES Multitap
EJS_multitap = false;
// URL to Game rom
EJS_gameUrl = '';
/*
* Path to the WASM / JS files
* HAS TO BE in the same directory.
*/
EJS_pathtodata = 'data/';
2021-12-20 16:30:29 +00:00
</script>
2022-03-26 20:44:57 +00:00
<script src='data/loader.js'></script>
2021-12-20 16:30:29 +00:00
```
2022-03-26 20:44:57 +00:00
## ROM Type
Your **ROM** can have the following types:
- `smc`
- `fig`
- `sfc`
- `gd3`
- `gd7`
- `dx2`
- `bsx`
- `swc`