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';
|
|
|
|
|
2023-07-22 23:22:55 +00:00
|
|
|
// Can also be fbneo, fbalpha2012_cps1, or fbalpha2012_cps2
|
2023-07-18 15:56:27 +00:00
|
|
|
EJS_core = 'arcade';
|
|
|
|
|
|
|
|
// URL to Game rom
|
|
|
|
EJS_gameUrl = '';
|
|
|
|
|
|
|
|
// Path to the data directory
|
|
|
|
EJS_pathtodata = 'data/';
|
|
|
|
</script>
|
|
|
|
<script src='data/loader.js'></script>
|
|
|
|
```
|
|
|
|
|
|
|
|
### CORES
|
|
|
|
|
2023-07-22 23:22:55 +00:00
|
|
|
The *arcade* system supports 3 cores
|
|
|
|
- `fbneo`
|
2023-07-18 15:56:27 +00:00
|
|
|
- `fbalpha2012_cps1`
|
|
|
|
- `fbalpha2012_cps2`
|
|
|
|
|
2023-07-22 23:22:55 +00:00
|
|
|
If set to `arcade`, emulator will use the `fbneo` core.
|
2023-07-18 15:56:27 +00:00
|
|
|
|