why again

This commit is contained in:
AArt1256 2024-09-02 11:43:01 +03:00
parent f415e4c9a1
commit d3d7c741a6
2 changed files with 8 additions and 10 deletions

View file

@ -57,12 +57,12 @@ const char** DivPlatformSupervision::getRegisterSheet() {
}
void DivPlatformSupervision::acquire(short** buf, size_t len) {
for (size_t h=0; h<len; h++) {
int mask_bits=0;
for (int i=0; i<4; i++)
mask_bits |= isMuted[i]?0:8>>i;
supervision_set_mute_mask(&svision,mask_bits);
int mask_bits=0;
for (int i=0; i<4; i++)
mask_bits |= isMuted[i]?0:8>>i;
supervision_set_mute_mask(&svision,mask_bits);
for (size_t h=0; h<len; h++) {
while (!writes.empty()) {
QueuedWrite w=writes.front();
supervision_memorymap_registers_write(&svision,w.addr|0x2000,w.val);