Skip to content

Emulator Configuration

Logan McNaughton edited this page Dec 28, 2024 · 1 revision

mupen64plus's netplay implementation relies on fast forward in order to keep players in sync. If someone is behind, the system will fast-forward their game so they can catch up with the other players.

vsync can interfere with fast forward. Your graphics plugin should disable vsync when netplay is in use.

Here is a good way to determine if netplay is being used from the graphics plugin:

    m64p_error netplay_init = ConfigReceiveNetplayConfig(NULL, 0); // A bit of a hack to determine if netplay is enabled
    if (netplay_init != M64ERR_NOT_INIT)
        window_vsync = 0; // force disable vsync during netplay
    else
        window_vsync = ConfigGetParamBool(configVideoParallel, KEY_VSYNC);
Clone this wiki locally