From d4ea291a106dfc1cc795cdc904c4d8019f1335c1 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Mon, 20 Mar 2017 09:42:46 +0100 Subject: [PATCH] Set PSP_SAS_MAX_GRAIN correctly. --- Core/HW/SasAudio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/HW/SasAudio.h b/Core/HW/SasAudio.h index 9924635d48..59e47c76d1 100644 --- a/Core/HW/SasAudio.h +++ b/Core/HW/SasAudio.h @@ -38,7 +38,7 @@ enum { PSP_SAS_PITCH_MAX = 0x4000, PSP_SAS_VOL_MAX = 0x1000, - PSP_SAS_MAX_GRAIN = 1024, // VERY conservative! 256 is quite common but don't think I've ever seen bigger. + PSP_SAS_MAX_GRAIN = 2048, // Matches the max value of the parameter to sceSasInit PSP_SAS_ADSR_CURVE_MODE_LINEAR_INCREASE = 0, PSP_SAS_ADSR_CURVE_MODE_LINEAR_DECREASE = 1,