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:
uz
2009-11-13 12:57:10 +00:00
parent d1e37cc241
commit e74ed31936
4 changed files with 13 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
;
;
; Ullrich von Bassewitz, 2004-06-15
;
; const char* __fastcall__ tgi_geterrormsg (unsigned char code);
@@ -40,6 +40,7 @@ offs: .byte <(msg0-msgtab)
.byte <(msg6-msgtab)
.byte <(msg7-msgtab)
.byte <(msg8-msgtab)
.byte <(msg9-msgtab)
msgtab:
msg0: .asciiz "No error"
@@ -50,5 +51,6 @@ msg4: .asciiz "Mode not supported by driver"
msg5: .asciiz "Invalid function argument"
msg6: .asciiz "Function not supported"
msg7: .asciiz "Invalid font file"
msg8: .asciiz "Unknown error"
msg8: .asciiz "Out of memory"
msg9: .asciiz "Unknown error"