Mercurial > sdl-ios-xcode
comparison src/video/xbios/SDL_xbios_sb3.c @ 1336:3692456e7b0f
Use SDL_ prefixed versions of C library functions.
FIXME:
Change #include <stdlib.h> to #include "SDL_stdlib.h"
Change #include <string.h> to #include "SDL_string.h"
Make sure nothing else broke because of this...
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 07 Feb 2006 06:59:48 +0000 |
parents | fba6b67b4d60 |
children | 604d73db6802 |
comparison
equal
deleted
inserted
replaced
1335:c39265384763 | 1336:3692456e7b0f |
---|---|
67 { | 67 { |
68 scpn_screeninfo_t *scrinfo; | 68 scpn_screeninfo_t *scrinfo; |
69 | 69 |
70 /* SB3 prevent changing video modes, we can only use current one */ | 70 /* SB3 prevent changing video modes, we can only use current one */ |
71 if (XBIOS_modelist) { | 71 if (XBIOS_modelist) { |
72 free(XBIOS_modelist); | 72 SDL_free(XBIOS_modelist); |
73 XBIOS_nummodes = 0; | 73 XBIOS_nummodes = 0; |
74 XBIOS_modelist = NULL; | 74 XBIOS_modelist = NULL; |
75 } | 75 } |
76 | 76 |
77 scrinfo = cookie_scpn->screen_info; | 77 scrinfo = cookie_scpn->screen_info; |