mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	fixup! audio_core: Remove global state
This commit is contained in:
		
							parent
							
								
									7c7fddd7bd
								
							
						
					
					
						commit
						adf9a19095
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		|  | @ -63,6 +63,8 @@ private: | |||
| }; | ||||
| 
 | ||||
| DspHle::Impl::Impl(DspHle& parent_) : parent(parent_) { | ||||
|     dsp_memory.raw_memory.fill(0); | ||||
| 
 | ||||
|     tick_event = | ||||
|         CoreTiming::RegisterEvent("AudioCore::DspHle::tick_event", [this](u64, int cycles_late) { | ||||
|             this->AudioTickCallback(cycles_late); | ||||
|  |  | |||
|  | @ -510,7 +510,7 @@ struct SharedMemory { | |||
| ASSERT_DSP_STRUCT(SharedMemory, 0x8000); | ||||
| 
 | ||||
| union DspMemory { | ||||
|     std::array<u8, 0x80000> raw_memory; | ||||
|     std::array<u8, 0x80000> raw_memory{}; | ||||
|     struct { | ||||
|         u8 unused_0[0x50000]; | ||||
|         SharedMemory region_0; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue