load_section_mem now uses zero copy to receive binary data

This commit is contained in:
Ondřej Novák 2025-07-10 10:08:19 +02:00
parent 9a41bc0f67
commit 3463d8e720
9 changed files with 71 additions and 67 deletions

View file

@ -640,9 +640,9 @@ void play_sample_at_channel(int sample,int channel,int vol)
}
void create_sound_table(char *template,int32_t size)
void create_sound_table(const char *template,int32_t size)
{
char *c,*s;
const char *c,*s;
int i=0;
if (sound_table==NULL) sound_table=create_list(2);