From: <sv...@op...> - 2024-04-21 12:04:56
|
Author: sagamusix Date: Sun Apr 21 14:04:46 2024 New Revision: 20632 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=20632 Log: [Fix] Compile fix for libopenmpt. Modified: trunk/OpenMPT/libopenmpt/libopenmpt_impl.cpp Modified: trunk/OpenMPT/libopenmpt/libopenmpt_impl.cpp ============================================================================== --- trunk/OpenMPT/libopenmpt/libopenmpt_impl.cpp Sun Apr 21 13:52:16 2024 (r20631) +++ trunk/OpenMPT/libopenmpt/libopenmpt_impl.cpp Sun Apr 21 14:04:46 2024 (r20632) @@ -523,7 +523,7 @@ } if ( count_read == 0 && m_ctl_play_at_end == song_end_action::continue_song ) { // This is the song end, but allow the song or loop to restart on the next call - m_sndFile->m_SongFlags.reset(OpenMPT::SONG_ENDREACHED); + m_sndFile->m_PlayState.m_flags.reset(OpenMPT::SONG_ENDREACHED); } return count_read; } @@ -546,7 +546,7 @@ } if ( count_read == 0 && m_ctl_play_at_end == song_end_action::continue_song ) { // This is the song end, but allow the song or loop to restart on the next call - m_sndFile->m_SongFlags.reset(OpenMPT::SONG_ENDREACHED); + m_sndFile->m_PlayState.m_flags.reset(OpenMPT::SONG_ENDREACHED); } return count_read; } @@ -568,7 +568,7 @@ } if ( count_read == 0 && m_ctl_play_at_end == song_end_action::continue_song ) { // This is the song end, but allow the song or loop to restart on the next call - m_sndFile->m_SongFlags.reset(OpenMPT::SONG_ENDREACHED); + m_sndFile->m_PlayState.m_flags.reset(OpenMPT::SONG_ENDREACHED); } return count_read; } @@ -590,7 +590,7 @@ } if ( count_read == 0 && m_ctl_play_at_end == song_end_action::continue_song ) { // This is the song end, but allow the song or loop to restart on the next call - m_sndFile->m_SongFlags.reset(OpenMPT::SONG_ENDREACHED); + m_sndFile->m_PlayState.m_flags.reset(OpenMPT::SONG_ENDREACHED); } return count_read; } |