mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-12 00:59:41 +01:00
Atrac: Add missing output channels for AA3.
Although, default was 2 so this shouldn't change anything.
This commit is contained in:
1 parent
d3ee48a770
commit
23523a2fdc
1 file changed
+2
@@ -2148,6 +2148,7 @@ static int sceAtracSetAA3DataAndGetID(u32 buffer, u32 bufferSize, u32 fileSize,
|
||||
return hleLogError(ME, atracID, "no free ID");
|
||||
}
|
||||
|
||||
atrac->outputChannels_ = 2;
|
||||
return _AtracSetData(atracID, buffer, bufferSize, bufferSize, true);
|
||||
}
|
||||
|
||||
@@ -2436,6 +2437,7 @@ static int sceAtracSetAA3HalfwayBufferAndGetID(u32 buffer, u32 readSize, u32 buf
|
||||
return hleLogError(ME, atracID, "no free ID");
|
||||
}
|
||||
|
||||
atrac->outputChannels_ = 2;
|
||||
return _AtracSetData(atracID, buffer, readSize, bufferSize, true);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user