Skip to content

Commit

Permalink
chore: triggers number of clock frames
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Sep 2, 2024
1 parent 101c493 commit dbc6df5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontends/web/ts/gb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ export class GameboyEmulator extends EmulatorLogic implements Emulator {
);
const executedCycles = Number(this.clockFrame.cycles);
if (this.clockFrame.frames > 0) {
this.trigger("frame");
this.trigger("frame", { count: this.clockFrame.frames });
}

// triggers the audio event, meaning that the audio should be
Expand Down

0 comments on commit dbc6df5

Please sign in to comment.