Add web build, unify screen update and frame wait function, update CI

This commit is contained in:
2023-11-04 16:49:35 +01:00
parent ee19b03b1b
commit 2026d954ee
8 changed files with 251 additions and 122 deletions

View File

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
<body>
<canvas id="canvas" oncontextmenu="event.preventDefault()"></canvas>
<script> var Module = { canvas: (function(){ return document.getElementById('canvas') })() } </script>
<script src="Emscripten.js"></script>
</body>
</html>