diff --git a/res/index.html b/res/index.html
index f444583..a782cc2 100644
--- a/res/index.html
+++ b/res/index.html
@@ -20,10 +20,14 @@
-
-
-
+
Play (USA)πΊπΈ
Play (JAP)π―π΅
Play (BRA)π§π·
@@ -83,7 +100,9 @@
function start(game) {
buttons.forEach(el => el.style.display = 'none')
- canvas.forEach(el => el.style.display = 'block')
+ const isMobile = !(/Win|Mac|Linux/.test(navigator.platform))
+ Array.from(canvas).filter((_, index) => index == 0 || isMobile)
+ .forEach(el => el.style.display = 'block')
fceux.init('#gameCanvas');
fceux.downloadGame(game);
@@ -150,9 +169,6 @@
})
})
}
- if (/Win|Mac|Linux/.test(navigator.platform)) {
- document.querySelector('#gamepad').style.display='none'
- }