mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 19:06:30 +00:00
36 lines
585 B
Markdown
36 lines
585 B
Markdown
|
# MAME 2003
|
||
|
|
||
|
## Code Example
|
||
|
|
||
|
```html
|
||
|
<div style='width:640px;height:480px;max-width:100%'>
|
||
|
<div id='game'></div>
|
||
|
</div>
|
||
|
|
||
|
<script type='text/javascript'>
|
||
|
EJS_player = '#game';
|
||
|
|
||
|
EJS_core = 'mame2003';
|
||
|
|
||
|
// 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 *mame2003* system supports 2 cores
|
||
|
- `mame2003`
|
||
|
|
||
|
If set to `mame2003`, emulator will use the `mame2003` core.
|
||
|
|