Problem using GetGPPresetList

Hi

I am getting Gig Performer crashes when using GetGPPresetList.
It works fine when I have less than 256 GP User Presets, but as soon as I create the 256th one, Gig Performer crashes when using that function.

This is the script simplified as much as possible.

//$
// DO NOT EDIT THIS SECTION MANUALLY
Var
CH1_Instrument : PluginBlock
//$

Initialization

var
GPPresetList : String Array

GPPresetList = GetGPPresetList(CH1_Instrument, 0)

End

Any ideas what the problem might be?

Martin

Meh — I see exactly what is broken - this will be fixed for the next update.

Great catch - thank you.

2 Likes

It’s fixed now and looking at the code, I must have been seriously drunk when I wrote it the first time😰

2 Likes