Updated the screen implementation according to the spec

This commit is contained in:
Luxferre
2022-07-29 07:56:45 +03:00
parent 9c78ab5193
commit 5ddd2ed571
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -79,6 +79,8 @@ function ESOPExtensions() {
// also, we need to set up the screen vector
var rAF = window.requestAnimationFrame || window.webkitRequestAnimationFrame
rAF(function vecframe() {
//the order is: clear - vector - render
vm.setramblk(vramOffset, new Uint8Array(vramSize))
vm.triggerVector(0)
renderScreen()
if(vm.active)