This commit is contained in:
thrust26 2020-02-03 20:42:52 +01:00
commit 9528ce3ff8
1 changed files with 2 additions and 2 deletions

View File

@ -722,11 +722,11 @@ void TiaWidget::handleCommand(CommandSender* sender, int cmd, int data, int id)
break; break;
case kVSyncCmd: case kVSyncCmd:
tia.vsync(tia.vsyncAsInt() & ~0x02 | (myVSync->getState() ? 0x02 : 0x00)); tia.vsync((tia.vsyncAsInt() & ~0x02) | (myVSync->getState() ? 0x02 : 0x00));
break; break;
case kVBlankCmd: case kVBlankCmd:
tia.vblank(tia.vblankAsInt() & ~0x02 | (myVBlank->getState() ? 0x02 : 0x00)); tia.vblank((tia.vblankAsInt() & ~0x02) | (myVBlank->getState() ? 0x02 : 0x00));
break; break;
case DataGridWidget::kItemDataChangedCmd: case DataGridWidget::kItemDataChangedCmd: