EmulatorJS/docs/Systems/Virtual Boy.md

32 lines
529 B
Markdown
Raw Normal View History

2022-03-26 20:46:53 +00:00
# Virtual Boy
2021-12-20 16:30:29 +00:00
## Code Example
2022-03-26 20:46:53 +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';
// Can also be beetle_vb
2021-12-20 16:30:29 +00:00
EJS_core = 'vb';
2022-03-26 20:46:53 +00:00
// URL to Game rom
EJS_gameUrl = '';
// Path to the data directory
2022-03-26 20:46:53 +00:00
EJS_pathtodata = 'data/';
2021-12-20 16:30:29 +00:00
</script>
2022-03-26 20:46:53 +00:00
<script src='data/loader.js'></script>
2021-12-20 16:30:29 +00:00
```
### CORES
The *vb* system supports 1 core
- `beetle_vb`
2021-12-20 16:30:29 +00:00
If set to `vb`, emulator will use the `beetle_vb` core.
2022-03-26 20:46:53 +00:00