Fix memset.

This commit is contained in:
Christian Speckner 2024-07-28 00:12:53 +02:00
parent 7bc095e130
commit 5e8e31b2d8
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ namespace {
}
else if ((ptr & 0x01) == 0 && size - (ptr - target) >= 2) {
err = cortex.write16(ptr, value16);
ptr += 4;
ptr += 2;
}
else {
err = cortex.write8(ptr, value);