diff --git a/stepmania/src/RageSound.cpp b/stepmania/src/RageSound.cpp index c4884c109a..7f234adec6 100644 --- a/stepmania/src/RageSound.cpp +++ b/stepmania/src/RageSound.cpp @@ -527,7 +527,7 @@ bool RageSound::GetDataToPlay( int16_t *pBuffer, int iFrames, int &iSoundFrame, void RageSound::CommitPlayingPosition( int64_t frameno, int pos, int iGotFrames ) { m_Mutex.Lock(); - m_PositionMapping.Insert( frameno, pos, iGotFrames ); + m_PositionMapping.Insert( frameno, iGotFrames, pos ); m_Mutex.Unlock(); } diff --git a/stepmania/src/RageSoundPosMap.cpp b/stepmania/src/RageSoundPosMap.cpp index 3f048cf677..60c737146e 100644 --- a/stepmania/src/RageSoundPosMap.cpp +++ b/stepmania/src/RageSoundPosMap.cpp @@ -49,7 +49,7 @@ pos_map_queue &pos_map_queue::operator=( const pos_map_queue &rhs ) return *this; } -void pos_map_queue::Insert( int64_t iSourceFrame, int iDestFrame, int iFrames ) +void pos_map_queue::Insert( int64_t iSourceFrame, int iFrames, int iDestFrame ) { if( m_pImpl->m_Queue.size() ) { diff --git a/stepmania/src/RageSoundPosMap.h b/stepmania/src/RageSoundPosMap.h index 03d5bffbf5..64202466ac 100644 --- a/stepmania/src/RageSoundPosMap.h +++ b/stepmania/src/RageSoundPosMap.h @@ -13,7 +13,7 @@ public: pos_map_queue &operator=( const pos_map_queue &rhs ); /* Insert a mapping from iSourceFrame to iDestFrame, containing iFrames. */ - void Insert( int64_t iSourceFrame, int iDestFrame, int iFrames ); + void Insert( int64_t iSourceFrame, int iFrames, int iDestFrame ); /* Return the iDestFrame for the given iSourceFrame. */ int64_t Search( int64_t iSourceFrame, bool *bApproximate ) const;