fix windows build...
This commit is contained in:
parent
ce32f921bd
commit
2baed0cff0
8 changed files with 149 additions and 6 deletions
|
|
@ -1156,7 +1156,6 @@ void DivEngine::renderSamples() {
|
|||
DivSample* s=song.sample[i];
|
||||
if ((memPos&0xf00000)!=((memPos+s->adpcmRendLength)&0xf00000)) {
|
||||
memPos=(memPos+0xfffff)&0xf00000;
|
||||
printf("aligning to %lx.\n",memPos);
|
||||
}
|
||||
memcpy(adpcmMem+memPos,s->adpcmRendData,s->adpcmRendLength);
|
||||
s->rendOff=memPos;
|
||||
|
|
@ -1340,7 +1339,7 @@ void DivEngine::quitDispatch() {
|
|||
}
|
||||
|
||||
bool DivEngine::init(String outName) {
|
||||
SNDFILE* outFile;
|
||||
SNDFILE* outFile=NULL;
|
||||
SF_INFO outInfo;
|
||||
if (outName!="") {
|
||||
// init out file
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ struct DivChannelState {
|
|||
volSpeed(0),
|
||||
cut(-1),
|
||||
rowDelay(0),
|
||||
volMax(0),
|
||||
delayOrder(0),
|
||||
delayRow(0),
|
||||
vibratoDepth(0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue