Skip to content

Commit

Permalink
fix CMakeLists.txt min version, cleanup shell.html's
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Nov 23, 2024
1 parent edcb0fb commit 5a62e9b
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 25 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# project: v6502r
#
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.20)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_C_STANDARD 99)
project(v6502r)
Expand Down
8 changes: 0 additions & 8 deletions src/2a03/shell.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
<script type="text/javascript">
var Module = {
preRun: [],
postRun: [],
print: (function() {
return function(text) {
text = Array.prototype.slice.call(arguments).join(' ');
Expand All @@ -46,13 +45,6 @@
text = Array.prototype.slice.call(arguments).join(' ');
console.error(text);
},
canvas: (function() {
var canvas = document.getElementById('canvas');
canvas.addEventListener("webglcontextlost", function(e) { alert('FIXME: WebGL context lost, please reload the page'); e.preventDefault(); }, false);
return canvas;
})(),
setStatus: function(text) { },
monitorRunDependencies: function(left) { }
};
window.onerror = function(event) {
console.log("onerror: " + event.message);
Expand Down
8 changes: 0 additions & 8 deletions src/m6502/shell.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
<script type="text/javascript">
var Module = {
preRun: [],
postRun: [],
print: (function() {
return function(text) {
text = Array.prototype.slice.call(arguments).join(' ');
Expand All @@ -46,13 +45,6 @@
text = Array.prototype.slice.call(arguments).join(' ');
console.error(text);
},
canvas: (function() {
var canvas = document.getElementById('canvas');
canvas.addEventListener("webglcontextlost", function(e) { alert('FIXME: WebGL context lost, please reload the page'); e.preventDefault(); }, false);
return canvas;
})(),
setStatus: function(text) { },
monitorRunDependencies: function(left) { }
};
window.onerror = function(event) {
console.log("onerror: " + event.message);
Expand Down
8 changes: 0 additions & 8 deletions src/z80/shell.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
<script type="text/javascript">
var Module = {
preRun: [],
postRun: [],
print: (function() {
return function(text) {
text = Array.prototype.slice.call(arguments).join(' ');
Expand All @@ -46,13 +45,6 @@
text = Array.prototype.slice.call(arguments).join(' ');
console.error(text);
},
canvas: (function() {
var canvas = document.getElementById('canvas');
canvas.addEventListener("webglcontextlost", function(e) { alert('FIXME: WebGL context lost, please reload the page'); e.preventDefault(); }, false);
return canvas;
})(),
setStatus: function(text) { },
monitorRunDependencies: function(left) { }
};
window.onerror = function(event) {
console.log("onerror: " + event.message);
Expand Down

0 comments on commit 5a62e9b

Please sign in to comment.