11565 Commits

Author SHA1 Message Date
Eric Warmenhoven
ef12e43522
Fix reading past the end of an allocated buffer. (#15713)
title_length is originally calculated to be the msg length, but later
if the task has a title then that is used instead, but the length is
not updated. If msg is longer than title, we read past the end of the
buffer.
2023-09-20 10:50:35 -07:00
libretroadmin
3718fed79d Buildfix 2023-09-06 03:16:47 +02:00
libretroadmin
bef29c466b Remove unneeded video_driver_set_gpu_device_string/get_gpu_device_string 2023-09-06 03:08:48 +02:00
sonninnos
4d0110b278
Use refresh rate instead of core fps for frameskip timing (#15666) 2023-09-03 09:53:00 -07:00
Colin Kinloch
320ba73f90
Wayland: Get system wayland-protocols path via pkg-config (#15668) 2023-09-03 09:48:11 -07:00
libretroadmin
dd3ceb40e9 Style nits 2023-09-03 17:37:00 +02:00
sonninnos
ab1e5c37ca
Add PAL threshold option for automatic refresh rate switch (#15636) 2023-08-22 14:56:15 -07:00
libretroadmin
24287b1cce Cleanups/simplifications 2023-08-17 21:58:41 +02:00
libretroadmin
f53ada6489 Cleanups, style nits, try to reduce some more strlens, etc. 2023-08-17 18:20:45 +02:00
metallic77
0cc88ed079
Add files via upload (#15609) 2023-08-17 06:12:35 -07:00
libretroadmin
4dd3b022f1 (CTR) Cut down on runloop_get_flags calls 2023-08-16 19:53:59 +02:00
libretroadmin
c6c7c343df video_frame_info - more flags 2023-08-16 19:47:24 +02:00
libretroadmin
bc41e0fdf4 video_frame_info - start passing flags 2023-08-16 19:17:23 +02:00
libretroadmin
5f94f36204 Explicit typecasts to bool 2023-08-16 17:10:59 +02:00
libretroadmin
0a96f9595c Explicit typecasts to bools for flags 2023-08-16 04:18:55 +02:00
libretroadmin
f51b49f213 More explicit typecasts to bools 2023-08-16 03:22:02 +02:00
libretroadmin
797c7ff381 Some more explicit typecasts to bools 2023-08-16 00:33:59 +02:00
libretroadmin
bd7a0f7f0a Explicit typecast to bool for some flag to bool conversions 2023-08-16 00:16:03 +02:00
vailkyte
139d7f3836
MSVC2010 - fix invisible menu display on winxp (#15599)
Explicit typecast to bool
2023-08-15 15:00:13 -07:00
libretroadmin
2d2cb04589 Merge video_coord_array.c into video_driver.c 2023-08-15 16:02:12 +02:00
libretroadmin
1765d491d1 Some minor cleanups - use size_t for return value of strlen,
extensions don't need 256-char arrays, etc.
2023-08-15 14:54:13 +02:00
libretroadmin
c8e6506687 Fix --disable-menu errors 2023-08-14 23:36:19 +02:00
Cpod12
904e9fbe1d
Added 21:9 as an option to RGUI (#15572)
* added 21:9 as an option to RGUI

* reverted files that weren't supposed to be changed

* fixed issue with 21:9 not showing in the menu and corrected buffer width
2023-08-12 05:51:12 -07:00
GABO1423
0a510d7055
(UWP) Fix d3d12 Driver in Debug Builds (#15567) 2023-08-09 01:37:20 -07:00
sonninnos
f1c144ea50
(XMB) Color + background adjustments (#15556)
* (XMB) Color + background adjustments

* (XMB) Improve font selector
2023-08-06 09:17:38 +02:00
sonninnos
cf42a200b4
(WIN32) Fix Pause vs NumLock in dinput/sdl2 (#15533) 2023-07-30 09:50:08 +02:00
zoltanvb
5d94bb36fb Recalculate animation end position if layout changes after start. 2023-07-25 10:18:01 +02:00
sonninnos
8bdf0e157d Shader preset save fix + cleanup 2023-07-20 17:44:43 +02:00
sonninnos
a821b13b13 Fix window title after video reinit 2023-07-20 14:36:55 +02:00
libretroadmin
770b9920f5 Cleanups:
* No implicit memsets for texture_image
* Replace some calls with concatenated strlcpys
* Some style nits
2023-07-18 16:46:54 +02:00
sonninnos
459fa1b838 (WIN32) Fix startup windowed scale 2023-07-18 13:34:36 +02:00
libretroadmin
2eee87f714 (Vulkan) Cleanups 2023-07-18 00:08:55 +02:00
libretroadmin
11d5775318 (D3D12) Get rid of some implicit memsets 2023-07-17 23:45:34 +02:00
libretroadmin
62e4779fee (D3D12) Get rid of some implicit memsets 2023-07-17 23:12:40 +02:00
libretroadmin
ae4e5d34f8 Get rid of some implicit memsets 2023-07-17 19:51:18 +02:00
libretroadmin
f8bda96fa4 (Vulkan) Get rid of some implicit memsets 2023-07-17 17:30:17 +02:00
libretroadmin
1743e8244b Avoid some implicit memsets 2023-07-17 16:53:46 +02:00
libretroadmin
f1c651053f - Use VK_FALSE/VK_TRUE consistently for Vulkan structts
- Some minuscule changes to file_path.c
2023-07-17 15:27:34 +02:00
libretroadmin
d26c4e52b3 Fix history download thumbnail issue 2023-07-17 15:06:29 +02:00
libretroadmin
5e614ea19c Update 2023-07-16 23:04:53 +02:00
libretroadmin
35c512d5ba Get rid of some impicit memsets 2023-07-16 22:51:09 +02:00
libretroadmin
07f22270f7 (video_crt_switch.c) C89 build fixes 2023-07-16 20:50:35 +02:00
libretroadmin
bd090dea71 Replace more strlcat calls 2023-07-16 18:07:49 +02:00
libretroadmin
d15de21da5 Cleanups 2023-07-16 17:14:10 +02:00
libretroadmin
c72bcd96e9 Buildfix 2023-07-16 08:12:05 +02:00
libretroadmin
be65a13102 Cut down on update_title code duplication 2023-07-16 08:00:49 +02:00
libretroadmin
4aa2ac3945 Cleanups - turn some functions static, some variable removals 2023-07-15 22:28:45 +02:00
libretroadmin
3c1e64129e Cutdown on some strlens 2023-07-15 19:35:19 +02:00
libretroadmin
9e34f22a29 Silence Xcode code warnings + general cleanups 2023-07-14 18:05:54 +02:00
nfore
8a81d39437 Overlay Caching
Adds overlay_cache_ptr to keep a disabled overlay in memory when it's expected to be shown again.

Most input_overlay_deinit calls are replaced with input_overlay_unload, which caches the overlay unless initing/deiniting core or disabling overlays.

Loading a cached overlay is done as a swap, intended for osk_toggle.

Related updates:
- Fewer parameters for the overlay loading task. Use current settings when enabling an overlay
- Add input_overlay_check_mouse_cursor() to preserve show/hide mouse behavior
- Don't apply input_overlay_show_mouse_cursor in windowed mode (controlled by mouse grab only)
- Remove some dead code
2023-07-09 04:42:49 +02:00