hxcmod build warning fix.

This commit is contained in:
Jean-François DEL NERO 2023-02-18 19:57:11 +01:00
parent 1388570bc8
commit 65211d182a

View File

@ -12,7 +12,7 @@
// File : hxcmod.c // File : hxcmod.c
// Contains: a tiny mod player // Contains: a tiny mod player
// //
// Written by: Jean François DEL NERO // Written by: Jean-François DEL NERO
// //
// You are free to do what you want with this code. // You are free to do what you want with this code.
// A credit is always appreciated if you include it into your prod :) // A credit is always appreciated if you include it into your prod :)
@ -1417,7 +1417,7 @@ int hxcmod_load( modcontext * modctx, void * mod_data, int mod_data_size )
#ifdef FULL_STATE #ifdef FULL_STATE
memclear(&(modctx->effects_event_counts),0,sizeof(modctx->effects_event_counts)); memclear(&(modctx->effects_event_counts),0,sizeof(modctx->effects_event_counts));
#endif #endif
memcopy(&(modctx->song.title),modmemory,1084); memcopy(&(modctx->song),modmemory,1084);
i = 0; i = 0;
modctx->number_of_channels = 0; modctx->number_of_channels = 0;