diff options
| author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-09-10 01:28:02 -0400 |
|---|---|---|
| committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-16 22:11:30 +0100 |
| commit | 4919d2d00faa644a00084e10daf4acb90924cbd6 (patch) | |
| tree | 299bc0d76a3972fbd1875fec40c051bf8c07ce6c /src/core/frontend/framebuffer_layout.h | |
| parent | 1e67e6c225cebadb364a1b093dd2ad8fb407a994 (diff) | |
bootmanager: Fix screenshot resolution factor usage
Fixes screenshots at non integer scaling
Diffstat (limited to 'src/core/frontend/framebuffer_layout.h')
| -rw-r--r-- | src/core/frontend/framebuffer_layout.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/frontend/framebuffer_layout.h b/src/core/frontend/framebuffer_layout.h index e2e3bbbb39..2e36c01636 100644 --- a/src/core/frontend/framebuffer_layout.h +++ b/src/core/frontend/framebuffer_layout.h @@ -60,7 +60,7 @@ FramebufferLayout DefaultFrameLayout(u32 width, u32 height); * Convenience method to get frame layout by resolution scale * @param res_scale resolution scale factor */ -FramebufferLayout FrameLayoutFromResolutionScale(u32 res_scale); +FramebufferLayout FrameLayoutFromResolutionScale(f32 res_scale); /** * Convenience method to determine emulation aspect ratio |
