Formatted SGG Doc

This commit is contained in:
ElectronicsArchiver 2022-03-26 16:36:44 -04:00
parent ac6a320f66
commit 569371c8f0

View file

@ -1,20 +1,35 @@
<h2>Sega Game Gear</h2>
Code example
```
<div style="width:640px;height:480px;max-width:100%">
<div id="game"></div>
</div>
<script type="text/javascript">
EJS_player = '#game';
EJS_gameUrl = ''; // Url to Game rom
EJS_core = 'segaGG';
EJS_pathtodata = 'data/'; //path to all of the wasm and js files. MUST all be in the same directory!!
</script>
<script src="data/loader.js"></script>
```
# Sega Game Gear
I do not know the file extension limits for this system.
## 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 = 'segaGG';
// URL to Game rom
EJS_gameUrl = '';
/*
* Path to the WASM / JS files
* HAS TO BE in the same directory.
*/
EJS_pathtodata = 'data/';
</script>
<script src='data/loader.js'></script>
```
## BIOS
GameGear BIOS (bootrom) - Optional `672e104c3be3a238301aceffc3b23fd6`