rename all waitvblank() to waitvsync()
This commit is contained in:
18
libsrc/nes/waitvsync.s
Normal file
18
libsrc/nes/waitvsync.s
Normal file
@@ -0,0 +1,18 @@
|
||||
;
|
||||
; Written by Groepaz/Hitmen <groepaz@gmx.net>
|
||||
; Cleanup by Ullrich von Bassewitz <uz@cc65.org>
|
||||
;
|
||||
; void waitvsync(void);
|
||||
;
|
||||
|
||||
.export _waitvsync
|
||||
|
||||
.include "nes.inc"
|
||||
|
||||
.proc _waitvsync
|
||||
|
||||
wait: lda PPU_STATUS
|
||||
bpl wait
|
||||
rts
|
||||
|
||||
.endproc
|
||||
Reference in New Issue
Block a user