EmulatorJS/docs/Systems/Arcade.md

34 lines
606 B
Markdown
Raw Normal View History

2022-03-26 17:17:32 +00:00
# Arcade
2021-12-20 16:30:29 +00:00
## Code Example
2022-03-26 17:17:32 +00:00
```html
<div style='width:640px;height:480px;max-width:100%'>
<div id='game'></div>
</div>
<script type='text/javascript'>
2021-12-20 16:30:29 +00:00
EJS_player = '#game';
2023-07-22 23:22:55 +00:00
// Can also be fbneo, fbalpha2012_cps1, or fbalpha2012_cps2
2021-12-20 16:30:29 +00:00
EJS_core = 'arcade';
2022-03-26 17:17:32 +00:00
// URL to Game rom
EJS_gameUrl = '';
// Path to the data directory
2022-03-26 17:17:32 +00:00
EJS_pathtodata = 'data/';
2021-12-20 16:30:29 +00:00
</script>
2022-03-26 17:17:32 +00:00
<script src='data/loader.js'></script>
2021-12-20 16:30:29 +00:00
```
### CORES
2021-12-20 16:30:29 +00:00
2023-07-22 23:22:55 +00:00
The *arcade* system supports 3 cores
- `fbneo`
- `fbalpha2012_cps1`
- `fbalpha2012_cps2`
2021-12-20 16:30:29 +00:00
2023-07-22 23:22:55 +00:00
If set to `arcade`, emulator will use the `fbneo` core.
2021-12-20 16:30:29 +00:00