mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2025-02-04 13:34:27 +00:00
Merge branch 'master' of github.com:sehugg/8bitworkshop
This commit is contained in:
commit
b88bd781a2
@ -68,6 +68,7 @@ TODO:
|
||||
- resize memory dump window
|
||||
- C/asm formatter
|
||||
- fix WebAudio (https://news.ycombinator.com/item?id=18066474)
|
||||
- Safari: verilog scope doesn't work
|
||||
|
||||
|
||||
WEB WORKER FORMAT
|
||||
|
@ -187,7 +187,7 @@ export var AnimationTimer = function(frequencyHz:number, callback:() => void) {
|
||||
var running : boolean = false;
|
||||
var pulsing : boolean = false;
|
||||
var lastts = 0;
|
||||
var useReqAnimFrame = false; //window.requestAnimationFrame ? (frequencyHz>40) : false;
|
||||
var useReqAnimFrame = false; //TODO window.requestAnimationFrame ? (frequencyHz>40) : false;
|
||||
var nframes, startts; // for FPS calc
|
||||
this.frameRate = frequencyHz;
|
||||
|
||||
|
@ -35,12 +35,13 @@ export class CodeProject {
|
||||
var notfinal = this.pendingWorkerMessages > 1;
|
||||
if (notfinal) {
|
||||
this.sendBuild();
|
||||
this.pendingWorkerMessages = 1;
|
||||
} else {
|
||||
if (this.callbackBuildStatus) this.callbackBuildStatus(false);
|
||||
if (!this.isCompiling) { console.log(this.pendingWorkerMessages); console.trace(); } // debug compile problems
|
||||
this.isCompiling = false;
|
||||
this.pendingWorkerMessages = 0;
|
||||
}
|
||||
this.pendingWorkerMessages = 0;
|
||||
if (e.data && !e.data.unchanged) {
|
||||
this.processBuildResult(e.data);
|
||||
if (this.callbackBuildResult) this.callbackBuildResult(e.data); // call with data when changed
|
||||
|
Loading…
x
Reference in New Issue
Block a user