mirror of
https://github.com/tildearrow/furnace.git
synced 2025-01-07 16:12:31 +00:00
AY: fix direct stream output (I think)
This commit is contained in:
parent
2d172c59af
commit
b650545773
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue