Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Found it
- const char *custommidilist(int index, int *list_size)
- {
- if(index>=0)
- {
- bound(index,0,MAXCUSTOMMIDIS_ZQ-1);
- sprintf(number_str_buf,"%3d - %s",index+(number_list_zero?0:1),customtunes[index].data?customtunes[index].title:"(Empty)");
- return number_str_buf;
- }
- *list_size=number_list_size;
- return NULL;
- }
- //number_str_buf is length 32.
- //So 26 + the "XXX - " preceding it is 32.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement