mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 02:46:23 +00:00
32 lines
624 B
Markdown
32 lines
624 B
Markdown
|
<h2>SNES</h2>
|
||
|
|
||
|
Code Example
|
||
|
|
||
|
```
|
||
|
<div style="width:640px;height:480px;max-width:100%">
|
||
|
<div id="game"></div>
|
||
|
</div>
|
||
|
<script type="text/javascript">
|
||
|
EJS_player = '#game';
|
||
|
EJS_gameUrl = ''; // Url to Game rom
|
||
|
EJS_core = 'snes';
|
||
|
EJS_mouse = false; // SNES Mouse
|
||
|
EJS_multitap = false; // SNES Multitap
|
||
|
EJS_pathtodata = 'data/'; //path to all of the wasm and js files. MUST all be in the same directory!!
|
||
|
</script>
|
||
|
<script src="data/loader.js"></script>
|
||
|
```
|
||
|
Your rom MUST have one of the following extensions
|
||
|
|
||
|
```
|
||
|
.smc
|
||
|
.fig
|
||
|
.sfc
|
||
|
.gd3
|
||
|
.gd7
|
||
|
.dx2
|
||
|
.bsx
|
||
|
.swc
|
||
|
```
|
||
|
There is no bios for this system
|