From 29b5ef0ef6c5eb0e12afc2a666745491238aa75e Mon Sep 17 00:00:00 2001 From: MysterD Date: Sun, 7 Aug 2022 20:54:16 -0700 Subject: [PATCH] Re-ran autogen --- src/pc/lua/smlua_functions_autogen.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pc/lua/smlua_functions_autogen.c b/src/pc/lua/smlua_functions_autogen.c index 1feb857a..e9874353 100644 --- a/src/pc/lua/smlua_functions_autogen.c +++ b/src/pc/lua/smlua_functions_autogen.c @@ -15996,7 +15996,7 @@ int smlua_func_save_file_erase(lua_State* L) { if(!smlua_functions_valid_param_count(L, 1)) { return 0; } s32 fileIndex = smlua_to_integer(L, 1); - if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter 1"); return 0; } + if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter 1 for function 'save_file_erase'"); return 0; } save_file_erase(fileIndex); @@ -16129,11 +16129,11 @@ int smlua_func_save_file_set_star_flags(lua_State* L) { if(!smlua_functions_valid_param_count(L, 3)) { return 0; } s32 fileIndex = smlua_to_integer(L, 1); - if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter 1"); return 0; } + if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter 1 for function 'save_file_set_star_flags'"); return 0; } s32 courseIndex = smlua_to_integer(L, 2); - if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter 2"); return 0; } + if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter 2 for function 'save_file_set_star_flags'"); return 0; } u32 starFlags = smlua_to_integer(L, 3); - if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter 3"); return 0; } + if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter 3 for function 'save_file_set_star_flags'"); return 0; } save_file_set_star_flags(fileIndex, courseIndex, starFlags);