Mercurial > sdl-ios-xcode
comparison src/power/SDL_power.c @ 3272:e8f63b28947d
Removed outdated Dreamcast support
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 19 Sep 2009 07:21:22 +0000 |
parents | a67a961e2171 |
children | f7b03b6838cb |
comparison
equal
deleted
inserted
replaced
3271:32fc3ba8df0b | 3272:e8f63b28947d |
---|---|
37 SDL_bool SDL_GetPowerInfo_BeOS(SDL_PowerState *, int *, int *); | 37 SDL_bool SDL_GetPowerInfo_BeOS(SDL_PowerState *, int *, int *); |
38 SDL_bool SDL_GetPowerInfo_NintendoDS(SDL_PowerState *, int *, int *); | 38 SDL_bool SDL_GetPowerInfo_NintendoDS(SDL_PowerState *, int *, int *); |
39 | 39 |
40 #ifndef SDL_POWER_DISABLED | 40 #ifndef SDL_POWER_DISABLED |
41 #ifdef SDL_POWER_HARDWIRED | 41 #ifdef SDL_POWER_HARDWIRED |
42 /* This is for things that _never_ have a battery, like the Dreamcast, etc. */ | 42 /* This is for things that _never_ have a battery */ |
43 static SDL_bool | 43 static SDL_bool |
44 SDL_GetPowerInfo_Hardwired(SDL_PowerState * state, int *seconds, int *percent) | 44 SDL_GetPowerInfo_Hardwired(SDL_PowerState * state, int *seconds, int *percent) |
45 { | 45 { |
46 *seconds = -1; | 46 *seconds = -1; |
47 *percent = -1; | 47 *percent = -1; |