Add flicker warnings, only auto-apply preferred overlays on Android and iOS (#17398)

* disable default overlays except on Android and iOS

* add flicker warnings to BFI/Subframes/rolling scan

and remove the prohibitions against other settings, since those conflicts are handled automagically anyway

* formatting nit
This commit is contained in:
hizzlekizzle 2025-01-12 10:34:13 -06:00 committed by GitHub
parent e71a1620b0
commit f7678abe8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 3 deletions

View File

@ -927,7 +927,11 @@
#define DEFAULT_INPUT_BACKTOUCH_TOGGLE false
#endif
#if defined(ANDROID) || defined(IOS)
#define DEFAULT_OVERLAY_ENABLE_AUTOPREFERRED true
#else
#define DEFAULT_OVERLAY_ENABLE_AUTOPREFERRED false
#endif
#if defined(HAVE_OVERLAY)
#if defined(RARCH_MOBILE)

View File

@ -2008,7 +2008,7 @@ MSG_HASH(
)
MSG_HASH(
MENU_ENUM_SUBLABEL_VIDEO_BLACK_FRAME_INSERTION,
"Insert black frame(s) between frames. Can greatly reduce motion blur by emulating CRT scan out, but at cost of brightness. Do not combine with Swap Interval > 1, sub-frames, Frame Delay, or Sync to Exact Content Framerate."
"WARNING: Rapid flickering may cause image persistence on some displays. Use at your own risk // Insert black frame(s) between frames. Can greatly reduce motion blur by emulating CRT scan out, but at cost of brightness."
)
MSG_HASH(
MENU_ENUM_LABEL_HELP_VIDEO_BLACK_FRAME_INSERTION,
@ -2092,7 +2092,7 @@ MSG_HASH(
)
MSG_HASH(
MENU_ENUM_SUBLABEL_VIDEO_SHADER_SUBFRAMES,
"Insert extra shader frame(s) between frames. Allows shaders to do effects that run at a higher fps than actual content rate. Should be set to current screen Hz. Do not combine with Swap Interval > 1, BFI, Frame Delay, or Sync to Exact Content Framerate."
"WARNING: Rapid flickering may cause image persistence on some displays. Use at your own risk // Simulates a basic rolling scanline over multiple sub-frames by dividing the screen up vertically and rendering each part of the screen according to how many sub-frames there are."
)
MSG_HASH(
MENU_ENUM_LABEL_HELP_VIDEO_SHADER_SUBFRAMES,
@ -2168,7 +2168,7 @@ MSG_HASH(
)
MSG_HASH(
MENU_ENUM_SUBLABEL_VIDEO_SCAN_SUBFRAMES,
"Simulates a basic rolling scanline over multiple sub-frames by dividing the screen up vertically and rendering each part of the screen according to how many sub-frames there are."
"WARNING: Rapid flickering may cause image persistence on some displays. Use at your own risk // Simulates a basic rolling scanline over multiple sub-frames by dividing the screen up vertically and rendering each part of the screen according to how many sub-frames there are."
)
MSG_HASH(
MENU_ENUM_LABEL_HELP_VIDEO_SCAN_SUBFRAMES,