Should compile now (fixed typos(?))
This commit is contained in:
parent
63c52052ea
commit
569fcd280c
2 changed files with 6 additions and 3 deletions
|
@ -50,7 +50,8 @@ SDL_GetPowerInfo_BeOS(SDL_PowerState * state, int *seconds, int *percent)
|
||||||
uint8 battery_flags;
|
uint8 battery_flags;
|
||||||
uint8 battery_life;
|
uint8 battery_life;
|
||||||
uint32 battery_time;
|
uint32 battery_time;
|
||||||
|
int rc; /* FIXME: This was undefined before; not sure what type it is */
|
||||||
|
|
||||||
if (fd == -1) {
|
if (fd == -1) {
|
||||||
return SDL_FALSE; /* maybe some other method will work? */
|
return SDL_FALSE; /* maybe some other method will work? */
|
||||||
}
|
}
|
||||||
|
@ -77,7 +78,9 @@ SDL_GetPowerInfo_BeOS(SDL_PowerState * state, int *seconds, int *percent)
|
||||||
if (battery_status == 0xFF) {
|
if (battery_status == 0xFF) {
|
||||||
battery_flags = 0xFF;
|
battery_flags = 0xFF;
|
||||||
} else {
|
} else {
|
||||||
battery_flags = (1 << status.battery_status);
|
battery_flags = (1 << battery_status); /* FIXME: Used to be
|
||||||
|
status.battery_status,
|
||||||
|
not sure why */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -90,7 +90,7 @@ SDL_ThreadID(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
SDL_SYS_SetThreadPriority(SDL_Thread * thread, SDL_ThreadPriority priority)
|
SDL_SYS_SetThreadPriority(SDL_ThreadPriority priority)
|
||||||
{
|
{
|
||||||
int32 value;
|
int32 value;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue