Rewrote tgi_load_driver in assembler and fixed a possible memory leak when
doing so. Changed the behaviour in case a driver is already loaded: Since the library cannot know if this driver was linked statically or loaded dynamically, an already installed driver is considered an error. It must be removed before calling tgi_load_driver. git-svn-id: svn://svn.cc65.org/cc65/trunk@5790 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -30,7 +30,6 @@ CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
|
||||
# Object files
|
||||
|
||||
C_OBJS = tgi_arc.o \
|
||||
tgi_load_driver.o \
|
||||
tgi_load_vectorfont.o \
|
||||
tgi_pieslice.o
|
||||
|
||||
@@ -68,6 +67,7 @@ S_OBJS = tgi-kernel.o \
|
||||
tgi_line.o \
|
||||
tgi_linepop.o \
|
||||
tgi_lineto.o \
|
||||
tgi_load.o \
|
||||
tgi_outcode.o \
|
||||
tgi_outtext.o \
|
||||
tgi_outtextxy.o \
|
||||
|
||||
Reference in New Issue
Block a user