Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use correct GetTicksPerSecond() value in IPC delays #3083

Merged
merged 1 commit into from Oct 4, 2015

Commits on Sep 23, 2015

  1. Use correct GetTicksPerSecond() value in IPC delays

    The constant IPC_DEFAULT_DELAY used a value from GetTicksPerSecond(),
    which in turn uses a value from CPU_CORE_CLOCK... but CPU_CORE_CLOCK
    isn't actually a constant! It's first initialized to 486 MHz and then
    changed to 729 MHz in SystemTimers::PreInit if emulating a Wii. This
    means that the IPC delays always used 486 MHz and thus were wrong.
    To fix this, the IPC reply constants are changed to functions.
    JosJuice committed Sep 23, 2015
    Configuration menu
    Copy the full SHA
    3fdae38 View commit details
    Browse the repository at this point in the history