another autogen fix

This commit is contained in:
Cooliokid956 2026-03-27 20:54:18 -05:00
parent 9c31fa8440
commit a36955f9e6
2 changed files with 3 additions and 2 deletions

View file

@ -5862,7 +5862,8 @@ Gets an `audio` stream's loop points in samples
| audio | [ModAudio](structs.md#ModAudio) |
### Returns
- None
- `integer`
- `integer`
### C Prototype
`void audio_stream_get_loop_points(struct ModAudio* audio, RET u64 *loopStart, RET u64 *loopEnd);`

View file

@ -30636,7 +30636,7 @@ int smlua_func_audio_stream_set_loop_points(lua_State* L) {
if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter %u for function '%s'", 1, "audio_stream_set_loop_points"); return 0; }
s64 loopStart = smlua_to_integer(L, 2);
if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter %u for function '%s'", 2, "audio_stream_set_loop_points"); return 0; }
s64 loopEnd = (s64) NULL;
s64 loopEnd = (s64) 0;
if (top >= 3) {
loopEnd = smlua_to_integer(L, 3);
if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter %u for function '%s'", 3, "audio_stream_set_loop_points"); return 0; }