mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-02-02 16:51:02 +00:00
removed stdlib.h from SDL_psp_main.c now that exit() is gone.
This commit is contained in:
parent
4facca0bff
commit
8cee50eea5
|
@ -8,7 +8,6 @@
|
||||||
#include "SDL_main.h"
|
#include "SDL_main.h"
|
||||||
#include <pspkernel.h>
|
#include <pspkernel.h>
|
||||||
#include <pspthreadman.h>
|
#include <pspthreadman.h>
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
#ifdef main
|
#ifdef main
|
||||||
#undef main
|
#undef main
|
||||||
|
@ -45,7 +44,7 @@ int sdl_psp_callback_thread(SceSize args, void *argp)
|
||||||
|
|
||||||
int sdl_psp_setup_callbacks(void)
|
int sdl_psp_setup_callbacks(void)
|
||||||
{
|
{
|
||||||
int thid = 0;
|
int thid;
|
||||||
thid = sceKernelCreateThread("update_thread",
|
thid = sceKernelCreateThread("update_thread",
|
||||||
sdl_psp_callback_thread, 0x11, 0xFA0, 0, 0);
|
sdl_psp_callback_thread, 0x11, 0xFA0, 0, 0);
|
||||||
if(thid >= 0)
|
if(thid >= 0)
|
||||||
|
|
Loading…
Reference in a new issue