From b8bc391d27ef7fd7a0b100f56bd9c3409c4c24dc Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Sun, 5 Nov 2023 20:40:56 +0000 Subject: [PATCH] AX: make volume field signed This fixes overly loud sounds in Freestyle Metal X (issue 13120). --- Source/Core/Core/HW/DSPHLE/UCodes/AXStructs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/HW/DSPHLE/UCodes/AXStructs.h b/Source/Core/Core/HW/DSPHLE/UCodes/AXStructs.h index e34ffcc323..8c6c6aad90 100644 --- a/Source/Core/Core/HW/DSPHLE/UCodes/AXStructs.h +++ b/Source/Core/Core/HW/DSPHLE/UCodes/AXStructs.h @@ -121,7 +121,7 @@ struct PBDpopWM struct PBVolumeEnvelope { - u16 cur_volume; // Volume at start of frame + s16 cur_volume; // Volume at start of frame s16 cur_volume_delta; // Signed per sample delta (96 samples per frame) };