mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	core/memory: Fix #5246
We can simplify the overload sent to be less confusing (and error-prone), while also unbreaking 32-bit builds.
This commit is contained in:
		
							parent
							
								
									397bd1bb73
								
							
						
					
					
						commit
						99eedced4a
					
				
					 1 changed files with 0 additions and 8 deletions
				
			
		|  | @ -99,14 +99,6 @@ struct PageTable { | |||
|             VAddr idx; | ||||
|         }; | ||||
| 
 | ||||
|         Entry operator[](VAddr idx) { | ||||
|             return Entry(*this, idx); | ||||
|         } | ||||
| 
 | ||||
|         u8* operator[](VAddr idx) const { | ||||
|             return raw[idx]; | ||||
|         } | ||||
| 
 | ||||
|         Entry operator[](std::size_t idx) { | ||||
|             return Entry(*this, static_cast<VAddr>(idx)); | ||||
|         } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue