mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 10:56:30 +00:00
31 lines
529 B
Markdown
31 lines
529 B
Markdown
# Virtual Boy
|
|
|
|
## 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 beetle_vb
|
|
EJS_core = 'vb';
|
|
|
|
// URL to Game rom
|
|
EJS_gameUrl = '';
|
|
|
|
// Path to the data directory
|
|
EJS_pathtodata = 'data/';
|
|
</script>
|
|
<script src='data/loader.js'></script>
|
|
```
|
|
|
|
### CORES
|
|
|
|
The *vb* system supports 1 core
|
|
- `beetle_vb`
|
|
|
|
If set to `vb`, emulator will use the `beetle_vb` core.
|
|
|