AY: fix direct stream output (I think)

This commit is contained in:
tildearrow 2024-09-01 16:19:01 -05:00
parent 2d172c59af
commit b650545773

View file

@ -327,9 +327,9 @@ void DivPlatformAY8910::acquire(short** buf, size_t len) {
void DivPlatformAY8910::fillStream(std::vector<DivDelayedWrite>& stream, int sRate, size_t len) {
writes.clear();
int rate=(int)(chipClock/sRate);
int hrate=(int)(rate/sRate);
for (size_t i=0; i<len; i++) {
for (int h=0; h<rate; h++) {
for (int h=0; h<hrate; h++) {
runDAC();
runTFX();
}