EmulatorJS/docs/Systems/Arcade.md

38 lines
669 B
Markdown
Raw Normal View History

2023-07-18 15:56:27 +00:00
# Arcade
## 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 fbalpha2012_cps1 or fbalpha2012_cps2
EJS_core = 'arcade';
// 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:
- `zip`
### CORES
The *arcade* system supports 2 cores
- `fbalpha2012_cps1`
- `fbalpha2012_cps2`
If set to `arcade`, emulator will use the `fbalpha2012_cps1` core.