Commit Graph

64039 Commits

Author SHA1 Message Date
Joseph C. Osborn 2805694378 Refactor viewport handling/aspect ratio scaling.
This mirrors the use of video_viewport_get_scaled_integer for
non-integer scaling at various aspect ratios.  Two variants are
provided, one with implicit device and desired ratios and one with
explicit ratios.

Also added a flag to video_viewport_get_scaled_integer to indicate the
direction of positive y.
2024-06-25 08:18:39 -05:00
Joseph C. Osborn 05faba73e3 Add config values and menu items for viewport bias x/y 2024-06-25 08:18:39 -05:00
schellingb e7c6d1df84 Fix keyboard events missing RETROKMOD_NUMLOCK or RETROKMOD_SCROLLOCK
- Add missing numlock mod to dinput
- Add missing scrolllock mod to x11
- Add missing capslock, numlock, scrolllock and meta mods to android
- Add missing scrolllock mod to sdl
- Add missing capslock, numlock, scrolllock and meta mods to switch
- Add missing numlock mod to winraw
- Add missing numlock mod to uwp
2024-06-25 08:18:29 -05:00
zoltanvb cc92ac7577 Fix exclusive fullscreen condition
Spotted in Android compilation:
warning: bitwise or with non-zero value always evaluates to true [-Wtautological-bitwise-compare]
2024-06-25 08:18:07 -05:00
Ash Logan 27f337d5a0 (libretro-common) Use inline assembly for PowerPC libco
This puts the code into the binary's .text section, which is needed
for platforms without the ability to map it as RWX (WiiU). Using
GNU/AT&T syntax for the assembly here.
2024-06-25 08:16:52 -05:00
github-actions 929fa20348 Fetch translations from Crowdin 2024-06-24 00:13:51 +00:00
github-actions 7da8e28370 Fetch translations from Crowdin 2024-06-23 00:13:32 +00:00
github-actions 7830e8aa23 Fetch translations from Crowdin 2024-06-20 00:12:24 +00:00
zoltanvb 3b21273858 [Wayland] Support for mouse buttons 4&5 and horizontal wheel 2024-06-19 18:40:15 -05:00
github-actions e3bb6b7aa8 Fetch translations from Crowdin 2024-06-19 00:12:24 +00:00
Joseph C. Osborn e51a316cfd tidy up intfstream_truncate ifdefs. 2024-06-18 13:13:59 -05:00
Joseph C. Osborn 6104a9ad86 change some replay file seeks to seek+truncates in record mode 2024-06-18 13:13:59 -05:00
Joseph C. Osborn 42f066a842 add intfstream_truncate for file streams
Will return 0 for non-file streams.  I didn't want to mess around with
memory_stream (which could in theory have a truncate impl that sets
size) because there were globals and stuff and I got nervous (also
truncate might *grow* a file if the new length is longer than the old
one and then I'd have to think about realloc, etc).
2024-06-18 13:13:59 -05:00
libretroadmin ab9ee963cb Simplify gfx_animation_line_ticker_smooth 2024-06-18 09:40:20 +02:00
libretroadmin 6ac25079bf (menu_cbs_deferred_push) Get rid of string_list usage 2024-06-18 09:20:36 +02:00
github-actions e2b0d70ec0 Fetch translations from Crowdin 2024-06-18 00:12:46 +00:00
zoltanvb f1b96f620b Fix MSVC05 compilation failure 2024-06-17 17:48:27 -05:00
zoltanvb 2ca973770f Fullscreen refresh rate improvements
Handle refresh rate as float in general, and add also extra
attributes (interlaced, doublescan) for video modes.

Make it possible to select exact mode (interlaced / doublescan modes
will not be selected), and allow close matches such as 49.5 Hz
for PAL 50 Hz.
2024-06-17 13:29:40 -05:00
github-actions 622736e195 Fetch translations from Crowdin 2024-06-17 00:13:10 +00:00
libretroadmin 3fc7024df9 (cheevos) Cleanups - only use snprintf for formatting 2024-06-16 22:20:15 +02:00
libretroadmin 38f278519c Remove some header includes 2024-06-16 21:37:46 +02:00
rofl0r 843c816fc2 x11: add support for Xss screensaver disabling
in case xdg-screensaver isn't installed.
2024-06-16 12:54:42 -05:00
libretroadmin 3f0d3ec393 Replace more strlcats 2024-06-16 19:42:51 +02:00
rofl0r d3c14a6e3e CI: add github workflow to create source-only release tarball
closes #16645
2024-06-16 12:16:13 -05:00
libretroadmin c4685e8c31 Cut down on strlcats 2024-06-16 19:15:07 +02:00
libretroadmin c05ec27334 task_save_handler - rewrite code - put string on stack instead
of heap, avoid using strlcat
2024-06-16 18:44:08 +02:00
libretroadmin c722653c97 (steam) avoid strlcat usage 2024-06-16 18:20:04 +02:00
libretroadmin 54a24dc9d5 input_config_get_bind_string - do proper character
counting now, avoid strlcats, and have functions return
size_t value indicating how many chars were written
2024-06-16 18:07:30 +02:00
libretroadmin a303b7dcc6 Simplifications 2024-06-16 17:35:38 +02:00
libretroadmin a3217dfa40 (core_updater_list) Remove more string_list usage 2024-06-16 17:25:17 +02:00
libretroadmin 9d56016ad3 (core_updater_list) replace string_list usage with strtok_r 2024-06-16 17:11:06 +02:00
libretroadmin 850f1ff6f7 Put comment back 2024-06-16 16:56:19 +02:00
libretroadmin 4eb8b772ec (task_content.c) content_file_override_set - use strtok_r instead
of string_list
2024-06-16 16:54:57 +02:00
libretroadmin 36e9d4a79d (ozone) ozone_draw_osk - use strtok_r instead of string_list 2024-06-16 16:38:42 +02:00
libretroadmin 5a863652b6 (RGUI) rgui_update_menu_sublabel - use strtok_r instead of string_list 2024-06-16 16:21:18 +02:00
Eric Warmenhoven 24f8bd1638 iOS/tvOS: Add ardens and anarch cores to app store build 2024-06-16 08:40:24 -05:00
libretroadmin e2e6602ac2 Buildfix 2024-06-16 15:39:35 +02:00
libretroadmin 95be65d5a0 (gfx_animation.c) Use strlcpy 2024-06-16 15:36:35 +02:00
libretroadmin 3cdadbef8c (dylib.c) Avoid strlcat usage, camelcase variable name removal
and C comments
2024-06-16 15:10:11 +02:00
libretroadmin 0ced85b91d Get rid of some unnecessary strlcat usage 2024-06-16 15:09:31 +02:00
libretroadmin 37bcb4f093 Replace some strlcat usage with strlcpy 2024-06-16 14:52:26 +02:00
libretroadmin 3736aa963f (task_overlay) remove unused variable 2024-06-16 14:38:21 +02:00
libretroadmin 00e669b09a (task_overlay.c) No more string_list usage 2024-06-16 14:35:03 +02:00
libretroadmin a758b13fac (gfx_animation.c) Small cleanups 2024-06-16 14:21:38 +02:00
libretroadmin 57273faa5a Rewrite 2 of action_ok_rdb_entry_submenu - now with less
allocations
2024-06-16 13:52:28 +02:00
libretroadmin b8448274df Rewrite action_ok_rdb_entry_submenu - no more string_list usage 2024-06-16 13:44:46 +02:00
libretroadmin cfd9cbad8e Fix ST_STRING_OPTIONS 'selected' dropdown item - was off by one 2024-06-16 13:16:49 +02:00
libretroadmin 81a1079123 generic_action_ok_dropdown_setting - don't use string_list for
ST_STRING_OPTIONS
2024-06-16 12:52:22 +02:00
github-actions 1f1ff0aafc Fetch translations from Crowdin 2024-06-16 00:13:36 +00:00
libretroadmin d7d1011ab0 More string_list removal 2024-06-15 19:12:15 +02:00