Bump version

This commit is contained in:
MysterD 2022-04-10 09:56:56 -07:00
parent 2c187bba45
commit d7e57003f1
2 changed files with 6 additions and 1 deletions

View File

@ -92,6 +92,11 @@ void smlua_audio_utils_replace_sequence(u8 sequenceId, u8 bankId, u8 defaultVolu
return; return;
} }
if (bankId >= 64) {
LOG_LUA("Invalid bankId given to smlua_audio_utils_replace_sequence(): %d", bankId);
return;
}
char m64path[SYS_MAX_PATH] = { 0 }; char m64path[SYS_MAX_PATH] = { 0 };
if (snprintf(m64path, SYS_MAX_PATH-1, "sound/%s.m64", m64Name) < 0) { if (snprintf(m64path, SYS_MAX_PATH-1, "sound/%s.m64", m64Name) < 0) {
LOG_LUA("Could not find m64 at path: %s", m64path); LOG_LUA("Could not find m64 at path: %s", m64path);

View File

@ -2,7 +2,7 @@
#define VERSION_H #define VERSION_H
#define UNSTABLE_BRANCH #define UNSTABLE_BRANCH
#define VERSION_NUMBER 23 #define VERSION_NUMBER 24
#define MAX_VERSION_LENGTH 10 #define MAX_VERSION_LENGTH 10
char* get_version(void); char* get_version(void);