Browse Source

[web] port over SYS_TIMER_TIME change too

master
asie 1 week ago
parent
commit
adaa58f509
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      web/src/emulator.js

+ 2
- 1
web/src/emulator.js View File

@@ -27,7 +27,8 @@ import { initVfsWrapper, setWrappedEmu, setWrappedVfs } from "./vfs_wrapper.js";
27 27
 	if (event.altKey) emu._zzt_kmod_set(0x08); else emu._zzt_kmod_clear(0x08);
28 28
 } */
29 29
 
30
-const TIMER_DURATION = 1000 / 18.2;
30
+// see zzt.h "SYS_TIMER_TIME"
31
+const TIMER_DURATION = 54.92457871;
31 32
 
32 33
 const PLD_TO_PAL = [0, 1, 2, 3, 4, 5, 20, 7, 56, 57, 58, 59, 60, 61, 62, 63];
33 34
 

Loading…
Cancel
Save