mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-16 01:35:07 +00:00
Sync with master
This commit is contained in:
parent
22211a4ef0
commit
c44f03b1a3
1 changed files with 0 additions and 4 deletions
|
@ -2644,10 +2644,6 @@ bool DivEngine::loadFC(unsigned char* file, size_t len) {
|
||||||
if (sample[i].len>0) {
|
if (sample[i].len>0) {
|
||||||
s->init(sample[i].len*2);
|
s->init(sample[i].len*2);
|
||||||
}
|
}
|
||||||
s->loopStart=sample[i].loopStart*2;
|
|
||||||
s->loopEnd=(sample[i].loopStart+sample[i].loopLen)*2;
|
|
||||||
s->loop=(s->loopStart>=0)&&(s->loopEnd>=0);
|
|
||||||
reader.read(s->data8,sample[i].len);
|
|
||||||
s->name=fmt::sprintf("Sample %d",i+1);
|
s->name=fmt::sprintf("Sample %d",i+1);
|
||||||
if (sample[i].loopLen>1) {
|
if (sample[i].loopLen>1) {
|
||||||
s->loopStart=sample[i].loopStart;
|
s->loopStart=sample[i].loopStart;
|
||||||
|
|
Loading…
Reference in a new issue