mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Implement app management support (suspend, resume, close, etc) (#6322)
This commit is contained in:
		
							parent
							
								
									d2caf2d386
								
							
						
					
					
						commit
						c96f54f022
					
				
					 21 changed files with 1043 additions and 110 deletions
				
			
		|  | @ -272,6 +272,7 @@ void DspHle::Impl::PipeWrite(DspPipe pipe_number, const std::vector<u8>& buffer) | |||
|         case StateChange::Sleep: | ||||
|             LOG_INFO(Audio_DSP, "Application has requested sleep of DSP hardware"); | ||||
|             UNIMPLEMENTED(); | ||||
|             AudioPipeWriteStructAddresses(); | ||||
|             dsp_state = DspState::Sleeping; | ||||
|             break; | ||||
|         default: | ||||
|  | @ -438,7 +439,7 @@ bool DspHle::Impl::Tick() { | |||
| 
 | ||||
|     parent.OutputFrame(std::move(current_frame)); | ||||
| 
 | ||||
|     return true; | ||||
|     return GetDspState() == DspState::On; | ||||
| } | ||||
| 
 | ||||
| void DspHle::Impl::AudioTickCallback(s64 cycles_late) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue