diff options
Diffstat (limited to 'Kod/bilbana/yc4/display/put_text.m')
| -rw-r--r-- | Kod/bilbana/yc4/display/put_text.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kod/bilbana/yc4/display/put_text.m b/Kod/bilbana/yc4/display/put_text.m index 5b80192..22871e3 100644 --- a/Kod/bilbana/yc4/display/put_text.m +++ b/Kod/bilbana/yc4/display/put_text.m @@ -1,7 +1,7 @@ function [pkg] = put_text(x, y, justification, text) - code = double(strjoin({'Z', justification}, '')); + code = strjoin({'Z', justification}, ''); - arg1 = [x, 0, y, 0]; + arg1 = [mod(x, 256), x ./ 256, mod(y, 256), y ./ 256]; arg2 = text; arg3 = 0; |
