Fixed TGI error codes and messages. Removed the Atari specific ones.
tgi_load_vectorfont will now return TGI_ERR_NO_MEM and clear the error code if the load was successful. git-svn-id: svn://svn.cc65.org/cc65/trunk@4466 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -37,16 +37,12 @@
|
||||
.enum
|
||||
TGI_ERR_OK ; No error
|
||||
TGI_ERR_NO_DRIVER ; No driver available
|
||||
TGI_ERR_LOAD_ERROR ; Error loading driver
|
||||
TGI_ERR_CANNOT_LOAD ; Error loading driver or font
|
||||
TGI_ERR_INV_DRIVER ; Invalid driver
|
||||
TGI_ERR_INV_MODE ; Mode not supported by driver
|
||||
TGI_ERR_INV_ARG ; Invalid function argument
|
||||
TGI_ERR_INV_FUNC ; Function not supported
|
||||
TGI_ERR_INV_FONT ; Font file is invalid
|
||||
|
||||
; Atari specific error codes
|
||||
|
||||
TGI_ERR_NO_IOCB ; No free IOCB to open the screen device
|
||||
TGI_ERR_NO_MEM ; Not enough memory
|
||||
TGI_ERR_UNKNOWN ; Unknown error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user