asm_sp1_ValUpdateStruct.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/temp/sp1/zx/updater/asm_sp1_ValUpdateStruct.asm

; sp1_ValUpdateStruct
; 03.2006 aralbrec, Sprite Pack v3.0
; sinclair spectrum version

SECTION code_clib
SECTION code_temp_sp1

PUBLIC asm_sp1_ValUpdateStruct

; FASTCALL

; Validate struct_sp1_update so that it is not drawn in
; the next update.  You must make sure that this tile is
; not invalidated by any call before the next update or
; portions of the screen may become inactive (ie will never
; be drawn during update).
;
; enter : HL = & struct sp1_update
; uses  : none

asm_sp1_ValUpdateStruct:

   bit 6,(hl)         ; must not validate removed update chars
   ret nz
   res 7,(hl)
   ret
