mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-03-22 17:46:08 -04:00
feat(settings): add float template instantiation for fractional scaling
- Add SWITCHABLE(float, true) to support custom resolution factors - Enable 1.5x scaling (900p/1080p) for handheld devices like AYN Thor Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
@@ -65,6 +65,7 @@ SWITCHABLE(u16, true);
|
||||
SWITCHABLE(u32, false);
|
||||
SWITCHABLE(u8, false);
|
||||
SWITCHABLE(u8, true);
|
||||
SWITCHABLE(float, true); // PROJECT PATHFINDER OPTIMIZATION: Support fractional scaling
|
||||
|
||||
// Used in UISettings
|
||||
// TODO see if we can move this to uisettings.cpp
|
||||
|
||||
@@ -88,6 +88,7 @@ SWITCHABLE(u16, true);
|
||||
SWITCHABLE(u32, false);
|
||||
SWITCHABLE(u8, false);
|
||||
SWITCHABLE(u8, true);
|
||||
SWITCHABLE(float, true); // PROJECT PATHFINDER OPTIMIZATION: Support fractional scaling
|
||||
|
||||
// Used in UISettings
|
||||
// TODO see if we can move this to uisettings.h
|
||||
|
||||
Reference in New Issue
Block a user