diff --git a/src/platform/galaxian.ts b/src/platform/galaxian.ts index edffb41a..b7010cc3 100644 --- a/src/platform/galaxian.ts +++ b/src/platform/galaxian.ts @@ -201,6 +201,8 @@ const _GalaxianPlatform = function(mainElement, options) { ]; class GalaxianPlatform extends BaseZ80Platform implements Platform { + + scanline : number; getPresets() { return GALAXIAN_PRESETS; @@ -305,6 +307,7 @@ const _GalaxianPlatform = function(mainElement, options) { advance(novideo : boolean) { for (var sl=0; sl= 0x4020 && (data[0x4000] || data[0x401f])) { diff --git a/src/platform/williams.ts b/src/platform/williams.ts index 607996d5..149b4f86 100644 --- a/src/platform/williams.ts +++ b/src/platform/williams.ts @@ -308,6 +308,8 @@ var WilliamsPlatform = function(mainElement, proto) { pixels = video.getFrameData(); timer = new AnimationTimer(60, this.nextFrame.bind(this)); } + + this.getRasterScanline = function() { return video_counter; } this.advance = function(novideo:boolean) { var cpuCyclesPerSection = Math.round(cpuCyclesPerFrame / 65);