summaryrefslogtreecommitdiff
path: root/src/yuzu/bootmanager.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-29 02:14:24 -0400
committerLioncash <mathew1800@gmail.com>2019-06-03 15:34:31 -0400
commite32bf646cfb4a2b86fe2645c20722d55f0f4f96c (patch)
treeba614091669a3ce0329872f4bae3bb239cd7e81c /src/yuzu/bootmanager.h
parent536c9cf006750927aa06d842d8bd18d7274c0be6 (diff)
yuzu/bootmanager: Treat the resolution factor as a u32
Treating it as a u16 can result in a sign-conversion warning when performing arithmetic with it, as u16 promotes to an int when aritmetic is performed on it, not unsigned int. This also makes the interface more uniform, as the layout interface now operates on u32 across the board.
Diffstat (limited to 'src/yuzu/bootmanager.h')
-rw-r--r--src/yuzu/bootmanager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/bootmanager.h b/src/yuzu/bootmanager.h
index 21b4958ff..2fc64895f 100644
--- a/src/yuzu/bootmanager.h
+++ b/src/yuzu/bootmanager.h
@@ -144,7 +144,7 @@ public:
void InitRenderTarget();
- void CaptureScreenshot(u16 res_scale, const QString& screenshot_path);
+ void CaptureScreenshot(u32 res_scale, const QString& screenshot_path);
public slots:
void moveContext(); // overridden