diff options
Diffstat (limited to 'src/libui_sdl/Platform.cpp')
-rw-r--r-- | src/libui_sdl/Platform.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/libui_sdl/Platform.cpp b/src/libui_sdl/Platform.cpp index 7313ae4..67f136c 100644 --- a/src/libui_sdl/Platform.cpp +++ b/src/libui_sdl/Platform.cpp @@ -44,6 +44,9 @@ #endif +void Stop(); + + namespace Platform { @@ -52,7 +55,7 @@ typedef struct { SDL_Thread* ID; void (*Func)(); - + } ThreadData; int ThreadEntry(void* data) @@ -70,6 +73,12 @@ u8 PacketBuffer[2048]; #define NIFI_VER 1*/ +void StopEmu() +{ + Stop(); +} + + void* Thread_Create(void (*func)()) { ThreadData* data = new ThreadData; |