Commit Graph

11385 Commits

Author SHA1 Message Date
Eric Warmenhoven
0c1ee70ca0
iOS: Fix xrgb8888 in gl driver (#16013) 2023-12-18 01:18:03 -08:00
Jamiras
4bf0816392
fix crash showing achievement game placard when threaded video enabled and game image not cached (#16008) 2023-12-12 21:43:54 -08:00
Jamiras
93e5566b9a
(cheevos) inform user when server is unreachable (#15970)
* ensure game placard is loaded on main thread

* show on-screen indicator while disconnected

* show server unreachable message in achievements menu

* remove comment
2023-12-02 05:33:13 -08:00
zoltanvb
12b6b68132
Fix videocore + switchres compile failure (#15971)
After commit f24893b, some definitions were not included when RA
is compiled with --enable-videocore option (RPi legacy driver).
2023-12-02 05:33:03 -08:00
Eric Warmenhoven
d2253c3de3
iOS/tvOS: create gl context as gles3 (#15958)
iOS 7+ supports gles3, which is backwards compatible with gles2. This
doesn't enable the glcore driver (which isn't working on ios yet), it
just changes the underlying context.

This fixes some of the rendering performance problems on mupen64plus_next.
2023-11-30 03:30:17 -08:00
zoltanvb
fd04c8ca57
Rebase of wakira's wp_fractional_scale_v1 support (#15965)
A rebase of earlier PR https://github.com/libretro/RetroArch/pull/15355
No changes added (except for one log).
2023-11-30 03:29:38 -08:00
Bobby Smith
bd10a88a57
[Vulkan] Fix a validation error (#15946) 2023-11-24 11:23:58 -08:00
Bobby Smith
3c25f19d80
[Win32] Fix window size when aspect ratio is < 0 (#15941) 2023-11-22 10:14:48 -08:00
sonninnos
2463188fed
(D3D11+12) Improve 'Max Frame Latency' logging (#15911) 2023-11-15 13:18:31 -08:00
Jamiras
bbe7afcd82
(cheevos) use rc_client for state management (#15912)
* use rc_client for achievement processing

* log disconnect/reconnect messages

* address compiler warnings

* address c89 warning

* address c89 warning
2023-11-15 13:18:20 -08:00
sonninnos
b341d90c2e
Fix word wrapped widget length (#15905) 2023-11-14 09:51:43 -08:00
sonninnos
f091b5a9e9
Move and relocate 'Frame Delay' (#15898) 2023-11-12 11:23:57 -08:00
fishcu
1b50470c96
Add FinalViewportSize support to GLSL (#15891)
* Change rotation type to int to maximize compatibility and to match glUniform1i

* Change to C style comment; Make comment more useful (hopefully)

* Add support for FinalViewportSize in GLSL
2023-11-10 16:45:20 -08:00
Eric Warmenhoven
7237b6acfc
Enable HDR support in iOS. (#15871)
* Enable HDR support in iOS.

* Enable HDR support in tvOS.
2023-11-06 00:50:14 -08:00
Joe Osborn
862bebf687
(Emscripten) Modularize the JavaScript and clean up the web build (#15688)
* Increase emscripten stack size and decrease path size to fix emscripten builds broken since de45fc2

* use modularize flags for better-behaved javascript output

* makefile and loader changes

* use specialHTMLTargets to support modular access to canvas

* bind key events to canvas, not document

This way focus means focus and we can have multiple RA instances in
one page.

* Work around an emscripten bug in strict mode

* (Emscripten) Use console.error() for error messages

* increase asyncify stack size

* Fix `-lm` flag-related compile warnings in emscripten

---------

Co-authored-by: Rob Loach <robloach@gmail.com>
2023-11-02 13:25:50 -07:00
zoltanvb
e7a10b2326
Fallback to screensaver inhibit via D-Bus on Wayland (#15856)
Some Wayland compositors (e.g. Phoc) don't implement Wayland's Idle
protocol. They instead rely on things like Gnome Screensaver.
2023-11-01 11:11:38 -07:00
LibretroAdmin
466e82f55d
Update sdl2_gfx.c 2023-10-31 12:01:00 -07:00
sonninnos
da59b8c9ac
Add 'Frame Rest' power saving option (#15834) 2023-10-26 04:20:48 -07:00
Cpod12
274d47f957
Xunkar's AI service rework updated (#15640)
* AI service rework

* File missing

* Fixed C89 build

* Fixed usage of inline for C89 build

* Fixed an overlay unloading bug

Made sure to unload the overlay on release and when the server returns empty values in automatic modes.

* Fixed forward decl (c89)

* Fixed OpenGL texture loading

Moved image display to the main thread for now

* Changed some formatting slightly

* Fixed struct variable order and put brackets on newlines

* Moved pointer, fixed retroarch.cfg, and replaced strlcat with strlcpy

* Fixed catenation issue

* Fixed a few other catenation issues

* Fixed one more concatenation  issue

* Fixed concatenation issue

* Fixed a few other concatenation issues

* Fixed one more concatenation  issue

* potential fix for parsing issue

---------

Co-authored-by: Xunkar <329857+xunkar@users.noreply.github.com>
2023-10-24 00:27:06 -07:00
bulzipke
32ed9b6041
플레이리스트 롬파일 이름으로 썸네일 이미지를 찾도록 옵션 추가 (#15731) 2023-09-26 05:31:59 -07:00
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