mirror of https://github.com/stella-emu/stella.git
Fix memset.
This commit is contained in:
parent
7bc095e130
commit
5e8e31b2d8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue