summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2026-04-26 11:51:10 -0400
committer arbee <rb6502@users.noreply.github.com>2026-04-26 11:51:10 -0400
commitc31aa50fac084175f91836e188024550df617199 (patch)
tree027804887d7d3de66fbfe1d5c3bc53aad0dfbaed /src
parentb1853449cc1db66326dce58d266eda9ea43bfe81 (diff)
sdl3: Actually set the "key hold down disable" hint for macOS. (Github #15239) [R. Belmont]
Diffstat (limited to 'src')
-rw-r--r--src/osd/sdl3/sdlmain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/sdl3/sdlmain.cpp b/src/osd/sdl3/sdlmain.cpp
index 9647e1e0e07..588854f8ca0 100644
--- a/src/osd/sdl3/sdlmain.cpp
+++ b/src/osd/sdl3/sdlmain.cpp
@@ -86,7 +86,7 @@ int main(int argc, char** argv)
#if defined(SDLMAME_MACOSX) && SDL_VERSION_ATLEAST(3, 4, 0)
// disable the popup accents menu on macOS
- SDL_SetHint(SDL_HINT_MAC_PRESS_AND_HOLD, 0);
+ SDL_SetHint(SDL_HINT_MAC_PRESS_AND_HOLD, "false");
#endif
// FIXME: this should be done differently