fixed random crashing if End then Start emulation
This commit is contained in:
parent
58db5136d3
commit
b42355817d
|
@ -36,7 +36,7 @@ void CN64System::StartEmulationThread(ThreadInfo * Info)
|
|||
|
||||
CoInitialize(NULL);
|
||||
|
||||
EmulationStarting(Info->ThreadHandle, Info->ThreadID);
|
||||
EmulationStarting(*Info->ThreadHandle, Info->ThreadID);
|
||||
delete ((HANDLE *)Info->ThreadHandle);
|
||||
delete Info;
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ private:
|
|||
//Used for loading and potentially executing the CPU in its own thread.
|
||||
struct ThreadInfo
|
||||
{
|
||||
void * ThreadHandle;
|
||||
void** ThreadHandle;
|
||||
uint32_t ThreadID;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue