diff --git a/Source/Project64/N64 System/Emulation Thread.cpp b/Source/Project64/N64 System/Emulation Thread.cpp index 4c2742835..7e41863fa 100644 --- a/Source/Project64/N64 System/Emulation Thread.cpp +++ b/Source/Project64/N64 System/Emulation Thread.cpp @@ -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; diff --git a/Source/Project64/N64 System/N64 Class.h b/Source/Project64/N64 System/N64 Class.h index 5c38179c0..4714d649e 100644 --- a/Source/Project64/N64 System/N64 Class.h +++ b/Source/Project64/N64 System/N64 Class.h @@ -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; };