mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	CI: fix recent build issues (#6148)
Co-authored-by: Vitor K <vitor-kiguchi@hotmail.com>
This commit is contained in:
		
							parent
							
								
									7d18e36566
								
							
						
					
					
						commit
						c6153bb32e
					
				
					 13 changed files with 36 additions and 33 deletions
				
			
		|  | @ -436,8 +436,9 @@ void GSP_GPU::SignalInterruptForThread(InterruptId interrupt_id, u32 thread_id) | |||
|     //               executing any GSP commands, only waiting on the event.
 | ||||
|     // TODO(Subv): The real GSP module triggers PDC0 after updating both the top and bottom
 | ||||
|     // screen, it is currently unknown what PDC1 does.
 | ||||
|     int screen_id = | ||||
|         (interrupt_id == InterruptId::PDC0) ? 0 : (interrupt_id == InterruptId::PDC1) ? 1 : -1; | ||||
|     int screen_id = (interrupt_id == InterruptId::PDC0)   ? 0 | ||||
|                     : (interrupt_id == InterruptId::PDC1) ? 1 | ||||
|                                                           : -1; | ||||
|     if (screen_id != -1) { | ||||
|         FrameBufferUpdate* info = GetFrameBufferInfo(thread_id, screen_id); | ||||
|         if (info->is_dirty) { | ||||
|  |  | |||
|  | @ -190,11 +190,10 @@ void Recorder::MemoryAccessed(const u8* data, u32 size, u32 physical_address) { | |||
| template <typename T> | ||||
| void Recorder::RegisterWritten(u32 physical_address, T value) { | ||||
|     StreamElement element = {{RegisterWrite}}; | ||||
|     element.data.register_write.size = | ||||
|         (sizeof(T) == 1) ? CTRegisterWrite::SIZE_8 | ||||
|                          : (sizeof(T) == 2) ? CTRegisterWrite::SIZE_16 | ||||
|                                             : (sizeof(T) == 4) ? CTRegisterWrite::SIZE_32 | ||||
|                                                                : CTRegisterWrite::SIZE_64; | ||||
|     element.data.register_write.size = (sizeof(T) == 1)   ? CTRegisterWrite::SIZE_8 | ||||
|                                        : (sizeof(T) == 2) ? CTRegisterWrite::SIZE_16 | ||||
|                                        : (sizeof(T) == 4) ? CTRegisterWrite::SIZE_32 | ||||
|                                                           : CTRegisterWrite::SIZE_64; | ||||
|     element.data.register_write.physical_address = physical_address; | ||||
|     element.data.register_write.value = value; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue