From 36cf23680ce0318a97acf9d0c1635d37b89727f8 Mon Sep 17 00:00:00 2001 From: uz Date: Fri, 11 Dec 2009 14:33:53 +0000 Subject: [PATCH] MAde the second parameter of tgi_ioctl a void* instead of an unsigned to keep the interface more uniform between the driver APIs. git-svn-id: svn://svn.cc65.org/cc65/trunk@4518 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- doc/funcref.sgml | 16 ++++++++-------- include/lynx.h | 14 +++++++------- include/tgi.h | 2 +- libsrc/tgi/tgi_ioctl.s | 2 +- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/doc/funcref.sgml b/doc/funcref.sgml index adbd7eeaa..60b69409c 100644 --- a/doc/funcref.sgml +++ b/doc/funcref.sgml @@ -5357,7 +5357,7 @@ tgi_init(); //Set up the default palette and clear the screen. / - -#define tgi_sprite(spr) tgi_ioctl(0, (unsigned)(spr)) -#define tgi_flip() tgi_ioctl(1, 0) -#define tgi_setbgcolor(bgcol) tgi_ioctl(2, (unsigned)(bgcol)) -#define tgi_setframerate(rate) tgi_ioctl(3, (unsigned)(rate)) -#define tgi_busy() tgi_ioctl(4, 0) -#define tgi_updatedisplay() tgi_ioctl(4, 1) +#define tgi_sprite(spr) tgi_ioctl(0, (void*)(spr)) +#define tgi_flip() tgi_ioctl(1, (void*)0) +#define tgi_setbgcolor(bgcol) tgi_ioctl(2, (void*)(bgcol)) +#define tgi_setframerate(rate) tgi_ioctl(3, (void*)(rate)) +#define tgi_busy() tgi_ioctl(4, (void*)0) +#define tgi_updatedisplay() tgi_ioctl(4, (void*)1) if (!tgi_busy()) { tgi_sprite(&background); tgi_setcolor(TGI_COLOR_BLUE); @@ -5522,7 +5522,7 @@ be used in presence of a prototype. /