mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 10:56:30 +00:00
Ethan O'Brien
084365a1b4
Changes: - Fixed screen recording on devices that do not support getUserMedia api. - Added C label buttons to nintendo 64 virtual gamepad. - Fixed EJS_color bug. - Savestates are pulled from the core itself, to always be correct. - Several new cores. (a5200, beetle_vb, desmume2015, fbalpha2012_cps1, fbalpha2012_cps2, fceumm, gambatte, mame2003, mednafen_psx, mednafen_psx_hw, melonds, mgba, mupen64plus_next, nestopia, snes9x) - D-pad for virtual gamepad. - Updated translation files to include new menu options. - Ability to add more than one zone object to virtual gamepads. - Added ability to set custom menu options. - Virtual gamepad left handed mode. - Fixed Screen record svg. - Updated svg icons. - Cache "clear all" button. - Cache button moved to menu bar. - Added feature that will display the current downloaded size when the content length is not available. - Updated repository docs
57 lines
1.1 KiB
Markdown
57 lines
1.1 KiB
Markdown
# SNES
|
|
|
|
## Code Example
|
|
|
|
```html
|
|
<div style='width:640px;height:480px;max-width:100%'>
|
|
<div id='game'></div>
|
|
</div>
|
|
|
|
<script type='text/javascript'>
|
|
EJS_player = '#game';
|
|
|
|
// Can also be snes9x
|
|
EJS_core = 'snes';
|
|
|
|
//SNES mouse
|
|
EJS_mouse = false;
|
|
|
|
// SNES Multitap
|
|
EJS_multitap = false;
|
|
|
|
// URL to BIOS file
|
|
EJS_biosUrl = '';
|
|
|
|
// URL to Game rom
|
|
EJS_gameUrl = '';
|
|
|
|
// Path to the data directory
|
|
EJS_pathtodata = 'data/';
|
|
</script>
|
|
<script src='data/loader.js'></script>
|
|
```
|
|
|
|
## ROM Type
|
|
|
|
Your **ROM** can have the following extensions:
|
|
- `smc`
|
|
- `sfc`
|
|
- `swc`
|
|
- `fig`
|
|
- `bs`
|
|
- `st`
|
|
|
|
### BIOS
|
|
|
|
| File Name | Description | md5sum |
|
|
| ----------- | ------------- | ----------- |
|
|
| BS-X.bin | BS-X - Sore wa Namae o Nusumareta Machi no<br> Monogatari (Japan) (Rev 1) - Optional | fed4d8242cfbed61343d53d48432aced |
|
|
| STBIOS.bin | Sufami Turbo (Japan) - Optional | d3a44ba7d42a74d3ac58cb9c14c6a5ca |
|
|
|
|
### CORES
|
|
|
|
The *snes* system supports 1 core
|
|
- `snes9x`
|
|
|
|
If set to `snes`, emulator will use the `snes9x` core.
|
|
|