29*0x0 command A0 now correctly re-enables software data protection.

This commit is contained in:
OBattler
2020-10-20 18:23:19 +02:00
parent c2329eefda
commit 4c4fed4109

View File

@@ -125,6 +125,7 @@ sst_new_command(sst_t *dev, uint32_t addr, uint8_t val)
case SST_BYTE_PROGRAM:
if (!dev->is_39) {
dev->sdp = 1;
memset(dev->page_buffer, 0xff, 128);
dev->page_bytes = 0;
}