aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/midi/base.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/midi/base.c')
-rw-r--r--Alc/midi/base.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Alc/midi/base.c b/Alc/midi/base.c
index b7e94fd2..0d81952b 100644
--- a/Alc/midi/base.c
+++ b/Alc/midi/base.c
@@ -425,6 +425,9 @@ void ALsfpreset_Construct(ALsfpreset *self)
{
self->ref = 0;
+ self->Preset = 0;
+ self->Bank = 0;
+
self->Zones = NULL;
self->NumZones = 0;