1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 09:39:43 +01:00

A couple small fixes

This commit is contained in:
NyakoFox 2024-11-24 22:43:06 -04:00
parent 6de03722ce
commit e0e769b538

View file

@ -420,6 +420,7 @@ end:
VVV_free(read_buf); VVV_free(read_buf);
VVV_free(decoded_buf_playing); VVV_free(decoded_buf_playing);
VVV_free(decoded_buf_reserve); VVV_free(decoded_buf_reserve);
VVV_free(filename);
if (!IsHalted()) if (!IsHalted())
{ {
VVV_freefunc(FAudioVoice_DestroyVoice, musicVoice); VVV_freefunc(FAudioVoice_DestroyVoice, musicVoice);
@ -528,7 +529,7 @@ end:
Uint8* decoded_buf_playing; Uint8* decoded_buf_playing;
Uint8* decoded_buf_reserve; Uint8* decoded_buf_reserve;
Uint8* read_buf; Uint8* read_buf;
const char* filename; char* filename;
bool looseextra; bool looseextra;
bool shouldloop; bool shouldloop;
bool valid; bool valid;
@ -833,7 +834,7 @@ void musicclass::init(void)
rw = PHYSFSRWOPS_openRead(track_name); \ rw = PHYSFSRWOPS_openRead(track_name); \
if (rw == NULL) \ if (rw == NULL) \
{ \ { \
vlog_error("Unable to read loose music file: %s", SDL_GetError()); \ vlog_error("Unable to read extra loose music file: %s", SDL_GetError()); \
} \ } \
else \ else \
{ \ { \