Fixed bitinvader loading
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@940 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-04-25 Paul Giblock <drfaygo/at/gmail/dot/com>
|
||||
|
||||
* plugins/bit_invader/bit_invader.cpp:
|
||||
Fixed samplelength loading
|
||||
|
||||
2008-04-24 Paul Giblock <drfaygo/at/gmail/dot/com>
|
||||
|
||||
* src/core/song.cpp:
|
||||
|
||||
@@ -212,7 +212,7 @@ void bitInvader::loadSettings( const QDomElement & _this )
|
||||
char * dst = 0;
|
||||
base64::decode( _this.attribute( "sampleShape"), &dst, &size );
|
||||
|
||||
m_graph.setLength( size );
|
||||
m_graph.setLength( sampleLength );
|
||||
m_graph.setSamples( (float*) dst );
|
||||
delete[] dst;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user