SptBufferValid()

Parent Previous Next

SptBufferValid(bBuffer As Byte), Byte


System procedure used to verify whether the specified sprite buffer is correctly dimensioned and fully contained within the allocated global sprite RAM space. This check determines whether the buffer properties are valid for further operations.


bBuffer = Buffer index to check

Result:

0 – OK, buffer is valid

1 – Invalid buffer index

2 – Buffer is not fully within the allowed RAM space

Created with the Personal Edition of HelpNDoc: Full-featured EPub generator