Bug fixes

If it ain't broke, don't fix it
This commit is contained in:
Agent X 2025-05-30 16:14:19 -04:00
parent feba35b010
commit ff31ae55fa
5 changed files with 6 additions and 6 deletions

View File

@ -61,7 +61,7 @@ end
-----------
--- @type Vec3f
gGlobalSoundSource = create_read_only_table({ x = 0, y = 0, z = 0 })
gGlobalSoundSource = { x = 0, y = 0, z = 0 }
--- @param bank number
--- @param soundID number

View File

@ -63,7 +63,7 @@ end
-----------
--- @type Vec3f
gGlobalSoundSource = create_read_only_table({ x = 0, y = 0, z = 0 })
gGlobalSoundSource = { x = 0, y = 0, z = 0 }
--- @param bank number
--- @param soundID number

View File

@ -116,7 +116,7 @@ void djui_panel_mod_menu_mod_create(struct DjuiBase* caller) {
struct DjuiThreePanel* panel = djui_panel_menu_create(to_uppercase(mod->name), false);
struct DjuiBase* body = djui_three_panel_get_body(panel);
{
struct DjuiPaginated* paginated = djui_paginated_create(body, 7);
struct DjuiPaginated* paginated = djui_paginated_create(body, 8);
struct DjuiBase* layoutBase = &paginated->layout->base;
s32 count = 0;
for (int i = 0; i < gHookedModMenuElementsCount; i++) {
@ -126,7 +126,7 @@ void djui_panel_mod_menu_mod_create(struct DjuiBase* caller) {
}
}
djui_paginated_calculate_height(paginated);
djui_base_set_size(layoutBase, layoutBase->width.value, 650);
djui_base_set_size(layoutBase, layoutBase->width.value, 700);
djui_button_create(body, DLANG(MENU, BACK), DJUI_BUTTON_STYLE_BACK, djui_panel_menu_back);
}

View File

@ -363,7 +363,7 @@ static struct ShaderProgram *gfx_opengl_create_and_load_new_shader(struct ColorC
}
if ((opt_alpha && opt_dither) || ccf.do_noise) {
append_line(fs_buf, &fs_len, "uniform int uFrameCount;");
append_line(fs_buf, &fs_len, "uniform float uFrameCount;");
append_line(fs_buf, &fs_len, "float random(in vec3 value) {");
append_line(fs_buf, &fs_len, " float random = dot(sin(value), vec3(12.9898, 78.233, 37.719));");

View File

@ -54,7 +54,7 @@ char gSmluaConstants[] = ""
"-- sound --\n"
"-----------\n"
"--- @type Vec3f\n"
"gGlobalSoundSource = create_read_only_table({ x = 0, y = 0, z = 0 })\n"
"gGlobalSoundSource = { x = 0, y = 0, z = 0 }\n"
"--- @param bank number\n"
"--- @param soundID number\n"
"--- @param priority number\n"