diff --git a/test/cli/testplatforms.js b/test/cli/testplatforms.js index 83549bce..f48bacaf 100644 --- a/test/cli/testplatforms.js +++ b/test/cli/testplatforms.js @@ -228,7 +228,7 @@ describe('Platform Replay', () => { var platform = await testPlatform('vcs', 'brickgame.rom', 72, (platform, frameno) => { if (frameno == 62) { var cstate = platform.saveControlsState(); - cstate.SA = 0xff ^ 0x40; // stick left + cstate.pia.SA = 0xff ^ 0x40; // stick left platform.loadControlsState(cstate); } }); diff --git a/test/cli/testworker.js b/test/cli/testworker.js index 60f7ffd5..7c294ddb 100644 --- a/test/cli/testworker.js +++ b/test/cli/testworker.js @@ -85,7 +85,7 @@ describe('Worker', function() { compile('dasm', '\tprocessor 6502\n\torg $f000\n MAC mack\n lda #0\n ENDM\nfoo: mack\n mack\n', 'vcs.mame', done, 4, 4); }); it('should NOT assemble DASM', function(done) { - compile('dasm', '\tprocessor 6502\n\torg $f000 ; this is a comment\nfoo asl a\n', 'vcs', done, 0, 0, 2); + compile('dasm', '\tprocessor 6502\n\torg $f000 ; this is a comment\nfoo asl a\n', 'vcs', done, 0, 0, 3); }); /* it('should assemble ACME', function(done) {