Skip to content

Commit ff31ae5

Browse files
committed
Bug fixes
If it ain't broke, don't fix it
1 parent feba35b commit ff31ae5

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

autogen/lua_constants/built-in.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ end
6161
-----------
6262

6363
--- @type Vec3f
64-
gGlobalSoundSource = create_read_only_table({ x = 0, y = 0, z = 0 })
64+
gGlobalSoundSource = { x = 0, y = 0, z = 0 }
6565

6666
--- @param bank number
6767
--- @param soundID number

autogen/lua_definitions/constants.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ end
6363
-----------
6464

6565
--- @type Vec3f
66-
gGlobalSoundSource = create_read_only_table({ x = 0, y = 0, z = 0 })
66+
gGlobalSoundSource = { x = 0, y = 0, z = 0 }
6767

6868
--- @param bank number
6969
--- @param soundID number

src/pc/djui/djui_panel_mod_menu.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ void djui_panel_mod_menu_mod_create(struct DjuiBase* caller) {
116116
struct DjuiThreePanel* panel = djui_panel_menu_create(to_uppercase(mod->name), false);
117117
struct DjuiBase* body = djui_three_panel_get_body(panel);
118118
{
119-
struct DjuiPaginated* paginated = djui_paginated_create(body, 7);
119+
struct DjuiPaginated* paginated = djui_paginated_create(body, 8);
120120
struct DjuiBase* layoutBase = &paginated->layout->base;
121121
s32 count = 0;
122122
for (int i = 0; i < gHookedModMenuElementsCount; i++) {
@@ -126,7 +126,7 @@ void djui_panel_mod_menu_mod_create(struct DjuiBase* caller) {
126126
}
127127
}
128128
djui_paginated_calculate_height(paginated);
129-
djui_base_set_size(layoutBase, layoutBase->width.value, 650);
129+
djui_base_set_size(layoutBase, layoutBase->width.value, 700);
130130

131131
djui_button_create(body, DLANG(MENU, BACK), DJUI_BUTTON_STYLE_BACK, djui_panel_menu_back);
132132
}

src/pc/gfx/gfx_opengl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ static struct ShaderProgram *gfx_opengl_create_and_load_new_shader(struct ColorC
363363
}
364364

365365
if ((opt_alpha && opt_dither) || ccf.do_noise) {
366-
append_line(fs_buf, &fs_len, "uniform int uFrameCount;");
366+
append_line(fs_buf, &fs_len, "uniform float uFrameCount;");
367367

368368
append_line(fs_buf, &fs_len, "float random(in vec3 value) {");
369369
append_line(fs_buf, &fs_len, " float random = dot(sin(value), vec3(12.9898, 78.233, 37.719));");

src/pc/lua/smlua_constants_autogen.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ char gSmluaConstants[] = ""
5454
"-- sound --\n"
5555
"-----------\n"
5656
"--- @type Vec3f\n"
57-
"gGlobalSoundSource = create_read_only_table({ x = 0, y = 0, z = 0 })\n"
57+
"gGlobalSoundSource = { x = 0, y = 0, z = 0 }\n"
5858
"--- @param bank number\n"
5959
"--- @param soundID number\n"
6060
"--- @param priority number\n"

0 commit comments

Comments
 (0)