Browse Source

Small bugfix

Yann Weber 5 years ago
parent
commit
6701b5e6cb
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      yaglitch_ui.asm

+ 5
- 1
yaglitch_ui.asm View File

@@ -1,3 +1,5 @@
1
+
2
+
1 3
 clear_screen:
2 4
 	mov rdi, [visu_surf]
3 5
 	push rdi
@@ -27,9 +29,11 @@ clear_screen:
27 29
 	pop rdi ; surface addr
28 30
 	call SDL_UnlockSurface
29 31
 
32
+	mov rdi, [visu_surf]
33
+
30 34
 blitflip_visu:
35
+	; with rdi the src surface
31 36
 
32
-	mov rdi, [visu_surf]
33 37
 	xor rsi, rsi
34 38
 	mov rdx, [visu_scr]
35 39
 	xor rcx, rcx

Loading…
Cancel
Save