parent
6ae3f33513
commit
79e71c3d02
3 changed files with 3 additions and 19 deletions
|
|
@ -22,8 +22,6 @@
|
|||
#include "../utfutils.h"
|
||||
#include "song.h"
|
||||
|
||||
constexpr int MASTER_CLOCK_PREC=(sizeof(void*)==8)?8:0;
|
||||
|
||||
// this function is so long
|
||||
// may as well make it something else
|
||||
void DivEngine::performVGMWrite(SafeWriter* w, DivSystem sys, DivRegWrite& write, int streamOff, double* loopTimer, double* loopFreq, int* loopSample, bool* sampleDir, bool isSecond, int* pendingFreq, int* playingSample, int* setPos, unsigned int* sampleOff8, unsigned int* sampleLen8, size_t bankOffset, bool directStream, bool* sampleStoppable) {
|
||||
|
|
@ -2741,7 +2739,7 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop, int version, bool p
|
|||
};
|
||||
|
||||
// calculate number of samples in this tick
|
||||
int totalWait=cycles>>MASTER_CLOCK_PREC;
|
||||
int totalWait=cycles;
|
||||
|
||||
// get register dumps and put them into delayed writes
|
||||
int writeNum=0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue