mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 15:32:59 +00:00
Merge pull request #11619 from konistehrad/fix-sunxi
Fix missing division sign in sunxi_gfx.c
This commit is contained in:
commit
8ddd246420
@ -418,7 +418,7 @@ static sunxi_disp_t *sunxi_disp_init(const char *device)
|
||||
(ctx->xres * ctx->bits_per_pixel / 8);
|
||||
ctx->gfx_layer_size = ctx->xres * ctx->yres * fb_var.bits_per_pixel / 8;
|
||||
ctx->refresh_rate = 1000000.0f / fb_var.pixclock * 1000000.0f /
|
||||
(fb_var.yres + fb_var.upper_margin + fb_var.lower_margin + fb_var.vsync_len)
|
||||
(fb_var.yres + fb_var.upper_margin + fb_var.lower_margin + fb_var.vsync_len) /
|
||||
(fb_var.xres + fb_var.left_margin + fb_var.right_margin + fb_var.hsync_len);
|
||||
|
||||
if (ctx->framebuffer_size < ctx->gfx_layer_size)
|
||||
|
Loading…
x
Reference in New Issue
Block a user