mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-24 14:49:53 -06:00
fix #584
This commit is contained in:
@ -904,8 +904,6 @@ void UpdateFPSLimit(void* data)
|
|||||||
|
|
||||||
int EmuThreadFunc(void* burp)
|
int EmuThreadFunc(void* burp)
|
||||||
{
|
{
|
||||||
NDS::Init();
|
|
||||||
|
|
||||||
MainScreenPos[0] = 0;
|
MainScreenPos[0] = 0;
|
||||||
MainScreenPos[1] = 0;
|
MainScreenPos[1] = 0;
|
||||||
MainScreenPos[2] = 0;
|
MainScreenPos[2] = 0;
|
||||||
@ -2958,6 +2956,8 @@ int main(int argc, char** argv)
|
|||||||
Joystick = NULL;
|
Joystick = NULL;
|
||||||
OpenJoystick();
|
OpenJoystick();
|
||||||
|
|
||||||
|
NDS::Init();
|
||||||
|
|
||||||
EmuRunning = 2;
|
EmuRunning = 2;
|
||||||
RunningSomething = false;
|
RunningSomething = false;
|
||||||
EmuThread = SDL_CreateThread(EmuThreadFunc, "melonDS magic", NULL);
|
EmuThread = SDL_CreateThread(EmuThreadFunc, "melonDS magic", NULL);
|
||||||
|
Reference in New Issue
Block a user