소스 검색

GSP: Added reinitialization of other state objects.

bunnei 12 년 전
부모
커밋
36fd1c169e
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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() {
 Interface::Interface() {
     Register(FunctionTable, ARRAY_SIZE(FunctionTable));
     Register(FunctionTable, ARRAY_SIZE(FunctionTable));
+
+    g_event = 0;
     g_shared_memory = 0;
     g_shared_memory = 0;
+    g_thread_id = 1;
 }
 }
 
 
 Interface::~Interface() {
 Interface::~Interface() {