Selaa lähdekoodia

GSP: Added reinitialization of other state objects.

bunnei 12 vuotta sitten
vanhempi
commit
36fd1c169e
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      src/core/hle/service/gsp.cpp

+ 3 - 0
src/core/hle/service/gsp.cpp

@@ -302,7 +302,10 @@ const Interface::FunctionInfo FunctionTable[] = {
 
 Interface::Interface() {
     Register(FunctionTable, ARRAY_SIZE(FunctionTable));
+
+    g_event = 0;
     g_shared_memory = 0;
+    g_thread_id = 1;
 }
 
 Interface::~Interface() {