fixed tests

This commit is contained in:
Steven Hugg 2021-04-21 10:54:58 -05:00
parent 5b7e0a6330
commit c486fb6cf1
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}
});

View File

@ -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) {