Skip to content

Commit

Permalink
Fixed windows errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyllingene committed May 14, 2022
1 parent 57e5110 commit b25c538
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/windows_main.asm
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ extern _key_down ; k

global update

update:
update:
push rbp
mov rbp, rsp
mov rcx, [GRAY]
call _clear
Expand Down Expand Up @@ -106,4 +109,6 @@ coordinates_fixed:
lea r8, [PLAYER]
call _draw_sprite
mov rsp, rbp
pop rbp
ret

0 comments on commit b25c538

Please sign in to comment.