Skip to content

Commit

Permalink
standalone: fix w/h confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
notaz committed Jan 15, 2024
1 parent 5ee1c92 commit bff5235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1313,7 +1313,7 @@ static int menu_loop_cscaler(int id, int keys)
for (;;)
{
if (saved_layer && last_vout_bpp == 16) {
int top_x = max(0, -g_layer_x * last_vout_h / 800) + 1;
int top_x = max(0, -g_layer_x * last_vout_w / 800) + 1;
int top_y = max(0, -g_layer_y * last_vout_h / 480) + 1;
char text[128];
memcpy(pl_vout_buf, saved_layer, saved_layer_size);
Expand Down

0 comments on commit bff5235

Please sign in to comment.