1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2026-04-20 00:17:04 +00:00

replay now allows seek to frame 0

This commit is contained in:
Steven Hugg
2020-07-11 12:45:22 -05:00
parent 842f256931
commit 8f192ab2a1
3 changed files with 15 additions and 5 deletions
+1
View File
@@ -157,6 +157,7 @@ async function testPlatform(platid, romname, maxframes, callback) {
var state1 = platform.saveState();
platform.loadState(state1);
assert.deepEqual(state1, platform.saveState());
assert.equal(0, rec.loadFrame(0));
assert.equal(1, rec.loadFrame(1));
assert.equal(maxframes, rec.loadFrame(maxframes));
var state2 = platform.saveState();