mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-03 23:28:48 +00:00 
			
		
		
		
	Merge pull request #5471 from vitor-k/misc
Fix some warnings and some small changes
This commit is contained in:
		
						commit
						24086d05bb
					
				
					 35 changed files with 110 additions and 117 deletions
				
			
		| 
						 | 
				
			
			@ -459,8 +459,8 @@ void CSND_SND::ReleaseCapUnit(Kernel::HLERequestContext& ctx) {
 | 
			
		|||
 | 
			
		||||
void CSND_SND::FlushDataCache(Kernel::HLERequestContext& ctx) {
 | 
			
		||||
    IPC::RequestParser rp(ctx, 0x9, 2, 2);
 | 
			
		||||
    const VAddr address = rp.Pop<u32>();
 | 
			
		||||
    const u32 size = rp.Pop<u32>();
 | 
			
		||||
    [[maybe_unused]] const VAddr address = rp.Pop<u32>();
 | 
			
		||||
    [[maybe_unused]] const u32 size = rp.Pop<u32>();
 | 
			
		||||
    const auto process = rp.PopObject<Kernel::Process>();
 | 
			
		||||
 | 
			
		||||
    IPC::RequestBuilder rb = rp.MakeBuilder(1, 0);
 | 
			
		||||
| 
						 | 
				
			
			@ -472,8 +472,8 @@ void CSND_SND::FlushDataCache(Kernel::HLERequestContext& ctx) {
 | 
			
		|||
 | 
			
		||||
void CSND_SND::StoreDataCache(Kernel::HLERequestContext& ctx) {
 | 
			
		||||
    IPC::RequestParser rp(ctx, 0xA, 2, 2);
 | 
			
		||||
    const VAddr address = rp.Pop<u32>();
 | 
			
		||||
    const u32 size = rp.Pop<u32>();
 | 
			
		||||
    [[maybe_unused]] const VAddr address = rp.Pop<u32>();
 | 
			
		||||
    [[maybe_unused]] const u32 size = rp.Pop<u32>();
 | 
			
		||||
    const auto process = rp.PopObject<Kernel::Process>();
 | 
			
		||||
 | 
			
		||||
    IPC::RequestBuilder rb = rp.MakeBuilder(1, 0);
 | 
			
		||||
| 
						 | 
				
			
			@ -485,8 +485,8 @@ void CSND_SND::StoreDataCache(Kernel::HLERequestContext& ctx) {
 | 
			
		|||
 | 
			
		||||
void CSND_SND::InvalidateDataCache(Kernel::HLERequestContext& ctx) {
 | 
			
		||||
    IPC::RequestParser rp(ctx, 0xB, 2, 2);
 | 
			
		||||
    const VAddr address = rp.Pop<u32>();
 | 
			
		||||
    const u32 size = rp.Pop<u32>();
 | 
			
		||||
    [[maybe_unused]] const VAddr address = rp.Pop<u32>();
 | 
			
		||||
    [[maybe_unused]] const u32 size = rp.Pop<u32>();
 | 
			
		||||
    const auto process = rp.PopObject<Kernel::Process>();
 | 
			
		||||
 | 
			
		||||
    IPC::RequestBuilder rb = rp.MakeBuilder(1, 0);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -202,8 +202,8 @@ void DSP_DSP::UnloadComponent(Kernel::HLERequestContext& ctx) {
 | 
			
		|||
 | 
			
		||||
void DSP_DSP::FlushDataCache(Kernel::HLERequestContext& ctx) {
 | 
			
		||||
    IPC::RequestParser rp(ctx, 0x13, 2, 2);
 | 
			
		||||
    const VAddr address = rp.Pop<u32>();
 | 
			
		||||
    const u32 size = rp.Pop<u32>();
 | 
			
		||||
    [[maybe_unused]] const VAddr address = rp.Pop<u32>();
 | 
			
		||||
    [[maybe_unused]] const u32 size = rp.Pop<u32>();
 | 
			
		||||
    const auto process = rp.PopObject<Kernel::Process>();
 | 
			
		||||
 | 
			
		||||
    IPC::RequestBuilder rb = rp.MakeBuilder(1, 0);
 | 
			
		||||
| 
						 | 
				
			
			@ -215,8 +215,8 @@ void DSP_DSP::FlushDataCache(Kernel::HLERequestContext& ctx) {
 | 
			
		|||
 | 
			
		||||
void DSP_DSP::InvalidateDataCache(Kernel::HLERequestContext& ctx) {
 | 
			
		||||
    IPC::RequestParser rp(ctx, 0x14, 2, 2);
 | 
			
		||||
    const VAddr address = rp.Pop<u32>();
 | 
			
		||||
    const u32 size = rp.Pop<u32>();
 | 
			
		||||
    [[maybe_unused]] const VAddr address = rp.Pop<u32>();
 | 
			
		||||
    [[maybe_unused]] const u32 size = rp.Pop<u32>();
 | 
			
		||||
    const auto process = rp.PopObject<Kernel::Process>();
 | 
			
		||||
 | 
			
		||||
    IPC::RequestBuilder rb = rp.MakeBuilder(1, 0);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue