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 <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <setjmp.h>
|
||||
#include <inttypes.h>
|
||||
#include "system-sdl.h"
|
||||
#include "system.h"
|
||||
#include "thread-sdl.h"
|
||||
#include "sim-ui-defines.h"
|
||||
#include "lcd-sdl.h"
|
||||
|
@ -168,7 +167,7 @@ void system_init(void)
|
|||
SDL_mutex *m;
|
||||
if (SDL_Init(SDL_INIT_TIMER))
|
||||
panicf("%s", SDL_GetError());
|
||||
atexit(SDL_Quit);
|
||||
atexit(sys_poweroff);
|
||||
|
||||
c = SDL_CreateCond();
|
||||
m = SDL_CreateMutex();
|
||||
|
|
Loading…
Reference in a new issue