SiS 471: Fix array out of bounds writes.

This commit is contained in:
OBattler
2025-04-06 21:23:53 +02:00
parent 5f9153e3f0
commit 449c224ff7

View File

@@ -375,7 +375,7 @@ sis_85c4xx_init(const device_t *info)
dev->reg_base = info->local & 0xff;
if (dev->is_471) {
dev->reg_last = dev->reg_base + 0x76;
dev->reg_last = 0x76;
dev->smram = smram_add();