forked from len0rd/rockbox
A bit further cleanup in system-sdl.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26123 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
66f183077d
commit
7b3299d681
1 changed files with 2 additions and 3 deletions
|
|
@ -23,9 +23,8 @@
|
||||||
#include <SDL_thread.h>
|
#include <SDL_thread.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <setjmp.h>
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include "system-sdl.h"
|
#include "system.h"
|
||||||
#include "thread-sdl.h"
|
#include "thread-sdl.h"
|
||||||
#include "sim-ui-defines.h"
|
#include "sim-ui-defines.h"
|
||||||
#include "lcd-sdl.h"
|
#include "lcd-sdl.h"
|
||||||
|
|
@ -168,7 +167,7 @@ void system_init(void)
|
||||||
SDL_mutex *m;
|
SDL_mutex *m;
|
||||||
if (SDL_Init(SDL_INIT_TIMER))
|
if (SDL_Init(SDL_INIT_TIMER))
|
||||||
panicf("%s", SDL_GetError());
|
panicf("%s", SDL_GetError());
|
||||||
atexit(SDL_Quit);
|
atexit(sys_poweroff);
|
||||||
|
|
||||||
c = SDL_CreateCond();
|
c = SDL_CreateCond();
|
||||||
m = SDL_CreateMutex();
|
m = SDL_CreateMutex();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue