mirror of
https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
synced 2025-12-18 19:42:40 +00:00
Use enumeration instead of magic numbers
This commit is contained in:
@@ -18,6 +18,12 @@ enum ScreenDocked : u32 {
|
||||
HeightDocked = 1080,
|
||||
};
|
||||
|
||||
enum class Aspect {
|
||||
AspectDefault,
|
||||
Aspect21by9,
|
||||
AspectStretch,
|
||||
};
|
||||
|
||||
/// Describes the layout of the window framebuffer
|
||||
struct FramebufferLayout {
|
||||
u32 width{ScreenUndocked::Width};
|
||||
|
||||
Reference in New Issue
Block a user