Skip to content

Commit

Permalink
fix bug causing realtime mode to not work
Browse files Browse the repository at this point in the history
  • Loading branch information
JLaferri committed Nov 15, 2021
1 parent 7cf9e83 commit 99a7280
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/console/workerInterface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const mirrorWorker: Promise<Thread & MirrorWorkerMethods> = new Promise((
worker.getMirrorDetailsObservable().subscribe(({ playbackId, filePath, isRealtime }) => {
const replayComm: ReplayCommunication = {
mode: "mirror",
isRealtime: isRealtime,
isRealTimeMode: isRealtime,
replay: filePath,
};
dolphinManager.launchPlaybackDolphin(playbackId, replayComm).catch(mirrorLog.error);
Expand Down
2 changes: 1 addition & 1 deletion src/dolphin/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export interface ReplayCommunication {
endFrame?: number; // when to stop watching the replay
commandId?: string; // random string, doesn't really matter
outputOverlayFiles?: boolean; // outputs gameStartAt and gameStation to text files (only works in queue mode)
isRealtime?: boolean; // default true; keeps dolphin fairly close to real time (about 2-3 frames); only relevant in mirror mode
isRealTimeMode?: boolean; // default false; keeps dolphin fairly close to real time (about 2-3 frames); only relevant in mirror mode
shouldResync?: boolean; // default true; disables the resync functionality
rollbackDisplayMethod?: "off" | "normal" | "visible"; // default off; normal shows like a player experienced it, visible shows ALL frames (normal and rollback)
queue?: ReplayQueueItem[];
Expand Down

0 comments on commit 99a7280

Please sign in to comment.