Skip to content

Commit

Permalink
RMG-Audio: disable audio sync during netplay
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosalie241 committed Dec 25, 2024
1 parent 8056533 commit abdcb74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/RMG-Audio/sdl_backend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ struct sdl_backend* init_sdl_backend(void)

sdl_backend->input_frequency = CoreSettingsGetIntValue(SettingsID::Audio_DefaultFrequency);
sdl_backend->swap_channels = CoreSettingsGetBoolValue(SettingsID::Audio_SwapChannels);
sdl_backend->audio_sync = CoreSettingsGetBoolValue(SettingsID::Audio_Synchronize);
sdl_backend->audio_sync = !CoreHasInitNetplay() && CoreSettingsGetBoolValue(SettingsID::Audio_Synchronize);
sdl_backend->paused_for_sync = 1;
sdl_backend->speed_factor = 100;
sdl_backend->resampler = resampler;
Expand Down

0 comments on commit abdcb74

Please sign in to comment.