mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-27 00:00:07 -06:00
add support for SPI shutdown, btw
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user