mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 04:30:10 +00:00
Leveraged tgi_stddrv (like tgidemo).
git-svn-id: svn://svn.cc65.org/cc65/trunk@4312 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
cb5ce7da5a
commit
a84229dcaf
@ -14,11 +14,6 @@
|
||||
|
||||
|
||||
/* Graphics definitions */
|
||||
#if defined(__APPLE2__) || defined(__APPLE2ENH__)
|
||||
# define GRAPHMODE TGI_MODE_280_192_8
|
||||
#else
|
||||
# define GRAPHMODE TGI_MODE_320_200_2
|
||||
#endif
|
||||
#define SCREEN_X (tgi_getxres())
|
||||
#define SCREEN_Y (tgi_getyres())
|
||||
#define MAXCOL (tgi_getcolorcount())
|
||||
@ -97,7 +92,7 @@ int main (void)
|
||||
|
||||
/* Load the graphics driver */
|
||||
cprintf ("initializing... mompls\r\n");
|
||||
tgi_load (GRAPHMODE);
|
||||
tgi_load_driver (tgi_stddrv);
|
||||
err = tgi_geterror ();
|
||||
if (err != TGI_ERR_OK) {
|
||||
cprintf ("Error #%d initializing graphics.\r\n%s\r\n",
|
||||
|
Loading…
Reference in New Issue
Block a user