Skip to content

Significant lag spikes in N64 game play when using fast forward #30

Description

@RobertMenke

I've observed that fast-forwarding game play will often cause significant lag spikes (video attached). While I imagine rendering performance is largely the responsibility of the mupen emulator, I wonder if any of the following solutions might improve the player experience:

  1. Avoid incrementing the frame counter when it reaches some threshold (although I do see that the mupen renderer already avoids executing the frame when the counter is >= 10 https://github.com/OpenEmu/Mupen64Plus-Core/blob/9f0d2f35b0fd2d16ea79194a0d0ad22d1529f274/MupenGameCore.m#L424).
  2. Provide users with a fast-forward rate slider in the gameplay settings menu that will ultimately influence the adjustedRate in the game loop
    NSTimeInterval adjustedRate = _rate ?: 1;
    .

Happy to attempt to put a PR together if we can agree on a path to mitigating the issue. Thank you!

CleanShot.2025-02-01.at.01.37.45.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions