Skip to content

Commit

Permalink
Fix reset
Browse files Browse the repository at this point in the history
  • Loading branch information
binji committed Aug 29, 2023
1 parent 4d12ee3 commit 8964e31
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ onmessage = async function(e) {
case 'runUntil':
if (emulator) { emulator.runUntil(e.data.ticks); }
break;
case 'setReset':
if (emulator) { emulator.setReset(e.data.ticks); }
break;
case 'beginRewind':
if (emulator) { emulator.beginRewind(); }
break;
Expand Down

0 comments on commit 8964e31

Please sign in to comment.