diff options
author | Michael Forney <mforney@mforney.org> | 2021-09-25 13:28:13 -0700 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2021-10-11 10:13:27 +0200 |
commit | 8401139089ad8dfd1c8478e14a0cbf04572c42ce (patch) | |
tree | 952f3d1051ae73bd1b283c139e801ad54ca1e5a6 /util.c | |
parent | ae23a3223f8f91aad898b73242ee9ec29ffabb11 (diff) | |
download | roux-8401139089ad8dfd1c8478e14a0cbf04572c42ce.tar.gz |
util: fix typo preventing 4-byte copy in blit()
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c index a28176d..9a3576a 100644 --- a/util.c +++ b/util.c @@ -384,7 +384,7 @@ blit(Ref rdst, uint doff, Ref rsrc, uint sz, Fn *fn) { struct { int st, ld, cls, size; } *p, tbl[] = { { Ostorel, Oload, Kl, 8 }, - { Ostorew, Oload, Kw, 8 }, + { Ostorew, Oload, Kw, 4 }, { Ostoreh, Oloaduh, Kw, 2 }, { Ostoreb, Oloadub, Kw, 1 } }; |