mirror of https://github.com/nmlgc/ReC98.git
14 lines
215 B
NASM
14 lines
215 B
NASM
|
; int __cdecl frame_delay(int frames)
|
||
|
frame_delay proc
|
||
|
@@frames = word ptr (cPtrSize + 2)
|
||
|
|
||
|
mov bx, sp
|
||
|
mov bx, ss:[bx+4]
|
||
|
mov vsync_Count1, 0
|
||
|
|
||
|
@@loop:
|
||
|
cmp vsync_Count1, bx
|
||
|
jb short @@loop
|
||
|
ret 2
|
||
|
frame_delay endp
|