mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 10:56:30 +00:00
38 lines
669 B
Markdown
38 lines
669 B
Markdown
|
# 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.
|
||
|
|