Commit Graph

4871 Commits

Author SHA1 Message Date
libretroadmin bc91eb6ceb Cut down on some strlens for xdk 2023-09-03 00:04:25 +02:00
GABO1423 f654d1bf30
(UWP/Menu) Small Tweaks (#15653) 2023-08-28 20:53:35 -07:00
libretroadmin f53ada6489 Cleanups, style nits, try to reduce some more strlens, etc. 2023-08-17 18:20:45 +02:00
libretroadmin f51b49f213 More explicit typecasts to bools 2023-08-16 03:22:02 +02:00
libretroadmin 40a0ced947 Be consistent with frontend_driver_get_core_extension - core extension
var should at most be 16 chars big, make only one exception once
2023-08-15 15:01:57 +02:00
libretroadmin aeff636a0f Minor cleanups to config_file.c 2023-07-17 09:45:52 +02:00
libretroadmin bd090dea71 Replace more strlcat calls 2023-07-16 18:07:49 +02:00
nfore 12fc237351 Add default keyboard overlay directory to platform_darwin 2023-07-09 22:51:31 +02:00
nfore 9ca5c5e623 Revive/rewrite Keyboard Overlay and OSK Toggle
Add keyboard overlay preset, keyboard submenu, and osk_toggle hotkey. Use overlay caching for osk_toggle.

For now, keyboard menu has only preset path, auto-scale toggle, and opacity.

Related fixes:
- input_keyboard_event: Don't check hotkey binds when device is RETRO_DEVICE_POINTER
- Add input_keymaps_translate_rk_to_ascii() for correct character input to input_keyboard_event
- input_overlay_poll: Delay clearing INPUT_OVERLAY_BLOCKED flag until there is no overlay input (Avoids stray input after osk_toggle)
- Send keyboard events for modifiers before other keys (for correct modifier+key input if hitboxes overlap)
2023-07-09 04:42:49 +02:00
Eric Warmenhoven 9d7ce37f9b Implement memory queries on iOS/tvOS 2023-07-01 19:25:57 +02:00
Eric Warmenhoven ce49bd6dcc Enable option to rumble iOS device instead of controller (#14734). 2023-07-01 19:24:40 +02:00
libretroadmin bdc398d79f - Safer code - use strlcpy where possible instead of manual character
assignments for strings longer than 2 chars
- Use strlcpy concatenation instead of strlcat
- Make sure that what remains of iteration of the '_len' variable
for manual char assignment
is done in a safer way so mistakes are less possible
2023-06-20 16:33:55 +02:00
libretroadmin 1cff8e26f4 (Android) Move DPI metric code to dispserv_android.c - and remove
duplicate code
2023-06-20 08:31:19 +02:00
libretroadmin e8242253a7 Reduce strlcat calls where possible 2023-06-19 06:00:10 +02:00
libretroadmin 631301b3f7 * Cut down on strlcat calls when possible and replace them with clever
usage of strlcpy (when position/offset of previous strlcpy/snprintf call
is known. strlcat implementation in libretro-common makes implicit strlen
call, using strlcpy avoids this
* Reduce a bunch of local char variables by use of said clever usage,
should save up on local stack size usage
2023-06-18 12:06:12 +02:00
libretroadmin 246cceeb27 Silence more signedness warnings 2023-06-14 19:51:31 +02:00
Grisly Glee 4202f8650d
Fix trivial signedness warnings (#15377)
* Fix trivial signedness warnings

* Followup on trivial signedness warnings
2023-06-14 04:43:11 +02:00
libretroadmin f66a8dc538 Cleanup unused variable warnings 2023-06-01 22:34:16 +02:00
libretroadmin 36cf7f00a8 Cleanups 2023-06-01 19:59:11 +02:00
libretroadmin 37190f8036 Header uniformity cleanups 2023-05-30 21:21:05 +02:00
libretroadmin c400fa761c (UI companion driver) Remove unused notify_content_loaded 2023-04-27 03:02:00 +02:00
warmenhoven 11a7cc9d23
Include audio and video filters in ios/tvos bundles (#15197) 2023-04-15 11:55:46 +02:00
warmenhoven 29842aabdc
Fix steam osx core path (#15158) 2023-04-06 06:06:10 +02:00
warmenhoven 54055558f1
Fix several warnings (#15153) 2023-04-04 15:06:34 +01:00
warmenhoven a60249ff87
Fix #15059 Compile in presence for discord (#15063)
Also relying on $TMPDIR is problematic because Discord uses
NSTemporaryDirectory() which may not be the same.
2023-03-06 19:57:08 +01:00
warmenhoven 8f70da6b0c
OSX: Make sure to use the file system path name, not the URL name (#15038) 2023-03-01 02:01:46 +01:00
warmenhoven bf5739b735
More changes for Steam on Mac (#15036)
* Additional Steam build cleanups

* Fix Mac directories for Steam
2023-02-28 21:28:59 +01:00
sonninnos 9d8aee53fa
(Win32) Fix restart if path has spaces (#15034) 2023-02-27 22:24:41 +01:00
libretroadmin 51d238875e Get rid of obsolete HAVE_VIDEO_LAYOUT - obsolete spec, was only
ever implemented for OpenGL2 driver, lots of code debt, best to
instead just keep improving the overlay system instead which is
already available for most video drivers
2023-02-23 21:03:41 +01:00
libretroadmin f07fd91a88 (Apple) Buildfix 2023-02-23 13:24:25 +01:00
libretroadmin 7ebab640d7 Cleanups/style nits 2023-02-23 13:15:14 +01:00
libretroadmin 3f3262fba3 (PS3) Cleanups - don't assume GLSL is the default shader for PSL1GHT 2023-02-23 10:43:33 +01:00
OsirizX c0ccb8cda3
(PSL1GHT) Code cleanup (#15006)
* (PSL1GHT) Use RSX_SHADER_STOCK_BLEND and RSX_SHADER_MENU defines

* (PSL1GHT) Cleanup compiler warnings

* (PSL1GHT) Make sure we compile with librt
2023-02-22 08:14:38 +01:00
libretroadmin 23b8f3d97d (UWP) Simplify UWP code - there was pre-Windows 2000 ifdefs in here 2023-02-20 13:00:06 +01:00
crystalct 58282ee98a
PSL1GHT build fix and folders nromalization (#14993) 2023-02-19 16:13:25 +01:00
libretroadmin e8152870f6 (PSP) Buildfix 2023-02-11 09:12:42 +01:00
libretroadmin 35860b4d47 Typo fix 2023-02-10 19:23:14 +01:00
libretroadmin 824c1dea8c Fix header include 2023-02-10 19:19:32 +01:00
Francisco Javier Trujillo Mata 3d9c60be7c
Avoid loading extra drivers (#14959) 2023-02-07 22:11:42 +01:00
Barry Rowe 78326188c4
Fix nvda switching to powershell on speak. (#14944) 2023-02-03 08:40:53 +01:00
libretroadmin 9fbd62d7b8 Reduce dependence on strcpy_literal (just a macro for strcpy) - prefer
going through safer strlcpy
2023-01-22 17:13:38 +01:00
libretroadmin 378e90e745 retroarch.h functions should be namespaced 'retroarch_' instead
of 'rarch_'
2023-01-22 16:58:22 +01:00
reallibretroadmin 3ae8e35d0e (iOS) Buildfix and cleanup some unused variables 2023-01-09 01:54:45 +01:00
libretroadmin daa9e352cc Remove asserts 2023-01-09 00:51:05 +01:00
Thiago Kenji Okada c5bfd52159
Add `CORE_INFO_DIR` to `./configure` (#14761)
* Add missing FILTERS_DIR definition to qb/config.libs.sh

* Add CORE_INFO_DIR configuration option
2022-12-23 14:40:48 +01:00
Thiago Kenji Okada 894c44c5ea
Add more flags to `./configure` (#14756)
* Allow disabling "Update Core Info" from Online Updater

* Add ASSETS_DIR as an alternative to DEFAULT_DIR_ASSETS

* Add FILTERS_DIR configuration option

* Fix other platform_unix.c platforms

* Conditionally use ASSETS_DIR/FILTERS_DIR
2022-12-23 01:28:57 +01:00
libretroadmin 8f1af4a2e6 (Frontend) Style nits/cleanups 2022-12-15 14:34:22 +01:00
Francisco Javier Trujillo Mata b207ddbe84
[PS2] Use `ps2_drivers` library for simplify frontend (#14724)
* Use ps2_drivers

* improvements in frontend driver

* Resetting IOP drivers before load elf
2022-12-12 05:52:57 +01:00
libretroadmin daa4c19d18 Style nits/minor cleanups 2022-12-05 14:24:49 +01:00
libretroadmin 6a098d37ac Use HAVE_DYLIB instead of HAVE_DYNAMIC when loading shared libraries 2022-11-21 05:37:35 +01:00