diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2026-02-19 12:16:11 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2026-02-19 12:16:11 +0100 |
| commit | e34239cf2bdb6bd810826b82c2a66873bd0881e2 (patch) | |
| tree | d6acf48046c21d067787d9ee35e0d795e13ca040 /src/main.S | |
| parent | ee0dc7edc8dd35e6e666a65d3a8f185bf08a74a2 (diff) | |
| download | snake.s-e34239cf2bdb6bd810826b82c2a66873bd0881e2.tar.xz snake.s-e34239cf2bdb6bd810826b82c2a66873bd0881e2.zip | |
fix: order functions arguments correctly
Diffstat (limited to 'src/main.S')
| -rw-r--r-- | src/main.S | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -124,8 +124,8 @@ load_local renderer_handle, %rdi mov %rdi, %r13 mov $0xff, %rsi - mov %rsi, %rcx mov %rsi, %rdx + mov %rsi, %rcx mov %rsi, %r8 call SDL_SetRenderDrawColor@PLT test %rax, %rax @@ -137,8 +137,8 @@ // use red color mov %r13, %rdi mov $0xff, %rsi - mov $0x00, %rcx mov $0x00, %rdx + mov $0x00, %rcx mov %rsi, %r8 call SDL_SetRenderDrawColor@PLT |
