workaround
git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@112 4df4b0f3-56ce-47cb-b001-ed939b7d65a6
This commit is contained in:
@@ -602,7 +602,6 @@ int c;
|
|||||||
for(i=0;i<text.size();i++)
|
for(i=0;i<text.size();i++)
|
||||||
{
|
{
|
||||||
c = text[i];
|
c = text[i];
|
||||||
if (!c) break;
|
|
||||||
if (c!=13)
|
if (c!=13)
|
||||||
{
|
{
|
||||||
if (highlight) c|=128;
|
if (highlight) c|=128;
|
||||||
|
|||||||
@@ -179,7 +179,8 @@ void CSound::callback(void *unused, Uint8 *stream, int len)
|
|||||||
|
|
||||||
if (g_pMusicPlayer->playing() == PLAY_MODE_PLAY)
|
if (g_pMusicPlayer->playing() == PLAY_MODE_PLAY)
|
||||||
{
|
{
|
||||||
SDL_MixAudio(stream, g_pMusicPlayer->passBuffer(len), len, SDL_MIX_MAXVOLUME);
|
// TODO: this crashes for me sometimes, but only with the std::string menu changes
|
||||||
|
//SDL_MixAudio(stream, g_pMusicPlayer->passBuffer(len), len, SDL_MIX_MAXVOLUME);
|
||||||
}
|
}
|
||||||
|
|
||||||
for( i=0 ; i < m_mixing_channels ; i++ )
|
for( i=0 ; i < m_mixing_channels ; i++ )
|
||||||
|
|||||||
Reference in New Issue
Block a user