GSP_GPU: Fix Shared memory & Create Event
This commit is contained in:
		 purpasmart96
					purpasmart96
				
			
				
					committed by
					
						 purpasmart96
						purpasmart96
					
				
			
			
				
	
			
			
			 purpasmart96
						purpasmart96
					
				
			
						parent
						
							c8c3a94b20
						
					
				
				
					commit
					e33aac9b2f
				
			| @@ -389,11 +389,11 @@ const Interface::FunctionInfo FunctionTable[] = { | |||||||
| // Interface class | // Interface class | ||||||
|  |  | ||||||
| Interface::Interface() { | Interface::Interface() { | ||||||
|     Register(FunctionTable, ARRAY_SIZE(FunctionTable)); |     g_interrupt_event = Kernel::Event::Create(RESETTYPE_ONESHOT, "GSP_GPU:g_interrupt_event").MoveFrom(); | ||||||
|  |     g_shared_memory = Kernel::SharedMemory::Create("GSP_GPU:g_shared_memory").MoveFrom(); | ||||||
|     g_interrupt_event = 0; |  | ||||||
|     g_shared_memory = 0; |  | ||||||
|     g_thread_id = 1; |     g_thread_id = 1; | ||||||
|  |  | ||||||
|  |     Register(FunctionTable, ARRAY_SIZE(FunctionTable)); | ||||||
| } | } | ||||||
|  |  | ||||||
| } // namespace | } // namespace | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user