added Phoenix Wright Ace Attorney

This commit is contained in:
2025-01-02 15:28:51 +00:00
committed by GitHub
parent 6d3b247666
commit a34823f23d
4 changed files with 38 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

@@ -388,6 +388,11 @@ const mainContentData = [
image: "/WebGames-master/WebGames-master/assets/glad.jpeg",
link: "/WebGames-master/WebGames-master/games/Gladihoppers-gh-pages/index.html",
},
{
name: "Phoenix Wright Ace Attorney",
image: "/WebGames-master/WebGames-master/assets/phoenix-wright-ace-attorney.avif",
link: "/wedrowemdlemtest/webretro-master/webretro-master/embed/n64test/wit.html",
},
];
mainContentData.forEach(item => {
@@ -0,0 +1,33 @@
<div class="game">
<div id='game'></div>
</div>
<script type='text/javascript'>
EJS_player = '#game';
EJS_core = 'gba';
EJS_gameUrl = 'PhoenixWrightAceAttorney.gba';
EJS_pathtodata = 'https://cdn.emulatorjs.org/latest/data/';
</script>
<script src='https://cdn.jsdelivr.net/gh/ethanaobrien/emulatorjs@main/data/loader.js'></script>
<style>
.game {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
overflow: hidden;
}
#game {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
overflow: hidden;
}
</style>