forked from eden-emu/eden
		
	hle: kernel: Migrate KReadableEvent and KWritableEvent to KAutoObject.
This commit is contained in:
		
							parent
							
								
									6a42358706
								
							
						
					
					
						commit
						617803fb5d
					
				
					 35 changed files with 219 additions and 204 deletions
				
			
		|  | @ -669,12 +669,10 @@ private: | |||
| 
 | ||||
|         LOG_WARNING(Service_VI, "(STUBBED) called id={}, unknown={:08X}", id, unknown); | ||||
| 
 | ||||
|         const auto& buffer_queue = *nv_flinger.FindBufferQueue(id); | ||||
| 
 | ||||
|         // TODO(Subv): Find out what this actually is.
 | ||||
|         IPC::ResponseBuilder rb{ctx, 2, 1}; | ||||
|         rb.Push(RESULT_SUCCESS); | ||||
|         rb.PushCopyObjects(buffer_queue.GetBufferWaitEvent().get()); | ||||
|         rb.PushCopyObjects(nv_flinger.FindBufferQueue(id)->GetBufferWaitEvent()); | ||||
|     } | ||||
| 
 | ||||
|     NVFlinger::NVFlinger& nv_flinger; | ||||
|  | @ -1209,7 +1207,7 @@ private: | |||
| 
 | ||||
|         IPC::ResponseBuilder rb{ctx, 2, 1}; | ||||
|         rb.Push(RESULT_SUCCESS); | ||||
|         rb.PushCopyObjects(vsync_event.get()); | ||||
|         rb.PushCopyObjects(vsync_event); | ||||
|     } | ||||
| 
 | ||||
|     void ConvertScalingMode(Kernel::HLERequestContext& ctx) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 bunnei
						bunnei