Merge branch '86Box:master' into feature/4gpv5

This commit is contained in:
cartifanwlr
2024-02-04 19:50:10 +03:00
committed by GitHub

View File

@@ -311,8 +311,10 @@ contaq_82c59x_close(void *priv)
{ {
contaq_82c59x_t *dev = (contaq_82c59x_t *) priv; contaq_82c59x_t *dev = (contaq_82c59x_t *) priv;
smram_del(dev->smram[1]); if (dev->green) {
smram_del(dev->smram[0]); smram_del(dev->smram[1]);
smram_del(dev->smram[0]);
}
free(dev); free(dev);
} }