Commit Graph

12511 Commits

Author SHA1 Message Date
libretroadmin c7a3581ee5 Bugfix for earlier commit 2023-05-24 01:03:08 +02:00
libretroadmin 4cc6ba8482 (Menu Explore) Small cleanups 2023-05-24 00:47:02 +02:00
sonninnos 997eae88a0 Fix menu refresh in action_ok_network 2023-05-21 23:18:21 +02:00
zoltanvb 23764bb199 menu_st missing for WIFI option fails to build #15281
Trivial fix, problem introduced in 91ea92e50b (diff-04dc75103003c9b5168602965b9499bb5806ce3e8d0e5739aa0e2c71f409b335)
2023-05-20 17:58:18 +02:00
sonninnos bd3bfbb99b Add shortcut to core info in content info 2023-05-20 17:58:08 +02:00
sonninnos 6be1ef5d85 Correct rotated core provided aspect ratio 2023-05-19 17:17:30 +02:00
Jamiras c6d214be0d add config setting 2023-05-15 03:41:45 +02:00
sonninnos 9eb083a864 Stop always reseting to defaults on remap delete 2023-05-12 15:27:10 +02:00
libretroadmin fe529ff591 Refactor away menu_driver_list_cache 2023-05-12 01:00:08 +02:00
libretroadmin b105fa5a4f Make one function static 2023-05-11 23:14:36 +02:00
libretroadmin 7db9a4acfa Header cleanups 2023-05-11 05:45:04 +02:00
libretroadmin f2bb150b0a Get rid of some menu_driver_ctl calls 2023-05-11 05:22:17 +02:00
libretroadmin c78e83978a Refactor menu_entries_ctl into menu_entries_clear 2023-05-11 03:29:45 +02:00
libretroadmin 0f97bf52b9 Create menu_displaylist_refresh 2023-05-11 02:07:56 +02:00
libretroadmin 07cb5f4e98 Remove MENU_ENTRIES_CTL_SET_REFRESH 2023-05-11 01:58:30 +02:00
libretroadmin c3b16e1803 Get rid of MENU_ENTREIS_CTL_UNSET_REFRESH and
MENU_ENTRIES_CTL_GET_REFRESH
2023-05-11 01:18:26 +02:00
Eric Warmenhoven 22dc543364 tvOS has its own beautiful screensavers and I would like them 2023-05-10 22:00:23 +02:00
libretroadmin 9f5a73ef07 Silence warnings and fix Android build 2023-05-10 21:59:50 +02:00
libretroadmin 91ea92e50b Get rid of some menu_driver_ctl commands 2023-05-10 21:30:09 +02:00
libretroadmin 6556dc8950 (XMB) Remove unnecessary menu_driver_ident check 2023-05-10 19:20:45 +02:00
libretroadmin 6952f0709a Some simplifications 2023-05-10 19:13:46 +02:00
libretroadmin 3706c4e464 Cleanups 2023-05-10 19:03:16 +02:00
libretroadmin 1ad253e81a Get rid of menu_input_{get|set}_selection 2023-05-10 18:45:49 +02:00
sonninnos 38895600dc (XMB) Fix menu wallpaper option + override 2023-05-10 18:05:42 +02:00
libretroadmin 0674613d28 Change return types of menu_driver_list_get_selection/get_size
and simplify struct
2023-05-10 08:36:44 +02:00
libretroadmin 5de30567a1 Get rid of MENU_ENTRIES_CTL_SETTINGS_GET 2023-05-10 07:28:14 +02:00
libretroadmin 74ad3723f9 Get rid of more extraneous menu wrapper functions 2023-05-10 06:37:40 +02:00
libretroadmin 6c22249ae9 Get rid of menu_entries_get_selection_buf_ptr and menu_entries_get_size 2023-05-10 05:52:52 +02:00
libretroadmin 29329ba62f remove menu_entries_get_stack_size 2023-05-10 05:03:40 +02:00
libretroadmin 9861073363 Get rid of menu_entries_get_menu_stack_ptr 2023-05-10 04:48:27 +02:00
libretroadmin a1e4918288 Cleanups 2023-05-10 04:18:00 +02:00
libretroadmin f550e12747 Fix issues in code 2023-05-10 03:47:37 +02:00
libretroadmin f89738e9a0 (menu_cbs_ok.c) Cleanups 2023-05-09 05:21:59 +02:00
libretroadmin c09268f4f4 Turn some functions static 2023-05-09 04:58:06 +02:00
libretroadmin 08f71a9b1e (Menu) Cleanups - make functions static and remove some unnecessary
wrapper functions
2023-05-09 04:41:12 +02:00
libretroadmin e613d05da7 Remove some gfx_display_{set|get}_ functions 2023-05-08 22:17:18 +02:00
sonninnos 47d71646c9 Add menu scroll home+end actions 2023-05-08 15:25:51 +02:00
sonninnos e806e7e7a8 (RGUI) Implement 'Remember Selection' option 2023-05-07 19:39:30 +02:00
sonninnos 47edfb5702 Video settings menu cleanup 2023-05-07 14:36:02 +02:00
libretroadmin dfc157d1d0 Small cleanups 2023-05-06 23:19:39 +02:00
libretroadmin 80b640f62e Get rid of unnecessary function 2023-05-06 22:29:44 +02:00
libretroadmin 099f33e0b3 (Menu) Simplifications 2023-05-06 22:10:55 +02:00
libretroadmin 02a849d440 Move RGUI specific code to RGUI file 2023-05-06 20:16:59 +02:00
libretroadmin 42370ac57e Android buildfix 2023-05-06 18:35:55 +02:00
libretroadmin 6d9482f3f0 (Menu) Cut down on small superfluos wrapper functions 2023-05-06 17:19:40 +02:00
sonninnos 99375ff787 Try to declutter Quick Menu 2023-05-06 07:46:27 +02:00
libretroadmin ead88eebfe (Menu) Get rid of a bunch of useless wrpaper function calls 2023-05-06 07:39:20 +02:00
libretroadmin bf370ce284 Turn more functions static 2023-05-06 02:34:02 +02:00
libretroadmin ec8aa8e186 Turn functions static 2023-05-05 22:03:41 +02:00
libretroadmin aef8e1d9a8 Add TODO/FIXME - localize notes 2023-05-05 20:15:16 +02:00
sonninnos 4ce384b42d (RGUI) Fix savestate thumbnail fullscreen cancel action 2023-05-05 14:41:47 +02:00
sonninnos 19a417434a (RGUI) Fix and add toggle for playlist thumbnails 2023-05-05 14:41:47 +02:00
sonninnos c8fb30ebe5 (Ozone) Return to sidebar from playlist manage quick access 2023-05-03 20:57:43 +02:00
sonninnos 33c4873b5b
(Ozone) Add quick access to playlist manager from sidebar (#15246) 2023-05-02 14:50:02 +02:00
libretroadmin d64f11a0f7 menu_update_fullscreen_thumbnail_label - some refinements 2023-05-02 00:21:37 +02:00
libretroadmin e61f495b0a Replace some snprintf calls 2023-05-02 00:12:04 +02:00
libretroadmin 6b93152253 * Add some TODO/FIXME localize notes
* some snprintf refactors
2023-05-01 20:49:32 +02:00
libretroadmin b951a010fd Move strftime_am_pm to libretro-common and get rid of duplicated
function
2023-05-01 19:03:11 +02:00
sonninnos b2ff445531
(Ozone) Sidebar multiline scrolling (#15242) 2023-05-01 05:26:31 +02:00
libretroadmin c087b044c2 * Add TODO/FIXME localize notes
* More snprintf optimizations
2023-04-30 19:30:07 +02:00
libretroadmin 254773339b Silence some unused variable warnings 2023-04-30 17:43:46 +02:00
libretroadmin 3871ac4455 * Add FIXME LOCALIZE notes
* Some snprintf optimizations
2023-04-30 17:26:57 +02:00
libretroadmin 04833f54b5 settings - remove unused ST_HEX 2023-04-29 16:20:08 +02:00
libretroadmin 246af45939 (menu_displaylist) Cleanups 2023-04-29 15:25:55 +02:00
libretroadmin 53a1ff446d Turn another function static 2023-04-29 14:38:31 +02:00
libretroadmin dfd0d6b14a Turn another function static 2023-04-29 14:38:31 +02:00
libretroadmin 138784a32d Turn another function static 2023-04-29 14:38:31 +02:00
libretroadmin 1a91aabd08 (menu_driver) Turn more functions static 2023-04-29 14:38:31 +02:00
libretroadmin 661f315aa8 (Menu) Turn some functions static 2023-04-29 14:38:31 +02:00
libretroadmin 47e5fa59ca (menu_displaylist) Cleanups 2023-04-28 17:37:17 +02:00
libretroadmin 242bdf9e1c (menu_displaylist) Cleanups 2023-04-28 17:05:32 +02:00
libretroadmin 1db2f20665 Clean warnings 2023-04-28 02:11:52 +02:00
libretroadmin bce958780d Remove unused ui_companion_notify_list_loaded - and menu_list member
from menu_displaylist_info
2023-04-26 20:21:07 +02:00
sonninnos fae7ac8241
Change network port menu options to 'allow_input' mode (#15227) 2023-04-26 09:09:58 +02:00
libretroadmin a385ff4444 (menu_displaylist) menu_displaylist_info - remove need of 'count'
member variable
2023-04-26 01:57:08 +02:00
libretroadmin 7a0e8788e0 (Menu) menu_displaylist refactors pt. 2 2023-04-26 01:57:08 +02:00
libretroadmin c35fddad86 (menu_displaylist) Refactors 2023-04-25 15:06:56 +02:00
libretroadmin 8a6584d0df (menu) menu_displaylist_build_list - cleanups 2023-04-25 14:19:58 +02:00
libretroadmin cff5ea2a9b (video_driver/HDR) Remove unused helper functiosn 2023-04-24 10:54:46 +02:00
libretroadmin ba9e78fe99 (menu_displaylist) Cleanups 2023-04-24 10:54:46 +02:00
libretroadmin 4d2a7f4dd0 (Menu) menu_displaylist_build_list - simplifications, less LOC 2023-04-23 17:30:55 +02:00
libretroadmin 07eddd7229 Cleanups 2023-04-23 16:09:24 +02:00
libretroadmin 238f887931 Get rid of initial for loop C89 noncompliance
* uwp_main.c - code style cleanups
2023-04-23 10:47:09 +02:00
libretroadmin 182ab1a82e Small misc cleanups - some C89 compliance fixes 2023-04-23 09:11:26 +02:00
libretroadmin 258ac6de4a Expand menu_displaylist_build_list 2023-04-23 09:01:52 +02:00
libretroadmin 11cab12d59 Cleanups 2023-04-23 08:29:33 +02:00
libretroadmin 3b8791f0ad Remove unused functions in menu_setting.c 2023-04-23 08:08:00 +02:00
Felipe Tavares ea81928e39
Fast-Forward Audio Resampling (#15173)
* 🎵 Fast forward audio resampling. Solves #15160.

Previously, we avoided doing any resampling while fastforwarding based
on the assumption it was impossible to make the audio not crackle due to
both flush-to-flush timing fluctuations and timer accuracy.

However, turns out this is not the case. The audio doesn't "crackle" per
se when the timing fluctuates! It's just that the sounds don't make
sense since the time compression and decompression caused by the flush
time fluctuations mess with the audio consistency.

To work around that, we introduce a running average flush delta time
that makes sure the audio is both resampled to approximately the correct
rate and consistent.

This was tested in two settings:

- Limited rate fastforwarding (2x-4x)
- Unlimited fastforwarding

In both cases it seems to work well, but with unlimited fastforwarding
it's just high pitched and annoying, so this is probably the most useful
in the 2x to 4x range.

* Move declartion to support C89

* resampling ratio upper and lower bounds

* Add toggle for speeding up audio
2023-04-20 17:14:47 +02:00
libretroadmin 52ba0fce34 Cleanups/variable cleanups/less snprintf calls 2023-04-17 15:26:30 +02:00
libretroadmin 0849a51ecc Small cleanups 2023-04-17 15:04:46 +02:00
sonninnos a8994860fc
Reinit audio on audio sync toggle (#15204) 2023-04-17 04:24:00 +02:00
Jamiras 8ea9651d09
(cheevos) expand leaderboard visibility settings (#15201)
* migrate cheevos_leaderboard_enabled setting to cheevos_visibility_lboard_X

* provide translatable strings for leaderboard messages
2023-04-16 19:44:46 +02:00
sonninnos 3c37da6bd1
Start directory browsing from current value (#15199) 2023-04-15 20:01:04 +02:00
sonninnos 5722d90a38
Show version in System Information + help/log version reformat (#15195) 2023-04-14 21:28:09 +01:00
sonninnos e2a264700a
Audio output menu item reinit fix (#15190) 2023-04-14 07:18:21 +02:00
sonninnos 07c371533f
WASAPI Frame Delay fix + cleanups (#15187) 2023-04-13 20:20:47 +02:00
Subs f24893bcb1
[CRT] Add KMS modeswitch (#15131)
* Prepare to update deps/switchres

* Squashed 'deps/switchres/' content from commit ca72648b32

git-subtree-dir: deps/switchres
git-subtree-split: ca72648b3253eca8c5addf64d1e4aa1c43f5db94

* Add CRT modeswitching to KMS
Display the real refresh rate
Enable the CRT SwitchRes menu
Add another switchres.ini path for Lakka
2023-03-25 11:57:10 +01:00
sonninnos a0c7f11499
(XMB) Horizontal icon animation fix (#15093) 2023-03-14 00:36:39 +01:00
sonninnos da076faa47
Notification font + statistics adjustments (#15089) 2023-03-13 20:10:10 +01:00
Joe Osborn 81b3e128ac
Add checkpointing feature for replay recordings. (#15072)
If cores are not deterministic, or if they only have bounded
determinism, we can obtain less drift if replay files also contain
periodic checkpoint states.  These are configured by the new retroarch
stting replay_checkpoint_interval (measured in seconds).  States are
inserted into the replay file in between frames.

This patch also fixes the settings display for the replay
autoincrement max keep setting.
2023-03-09 23:14:02 +01:00
zoltanvb ed2ffb5393
Minor menu opacity fixes. (#15069)
Remove "Framebuffer opacity" from XMB as it does not use it.
Also, rename the corresponding menu title, since "framebuffer"
is not that intuitive.
2023-03-08 00:10:27 +01:00
Joe Osborn 2125770236
Replay UI support (#15048)
* Add bsv replay controls (not yet fully implemented), remove toggle

see notes in task_movie.c, make sure command.c calls the right
functions, check retroarch.c and other todos.

bsv files are also now stored with states, not saves.

* Compilation fixes

* Added command impls for play and record replay, and some code in load state to do the right thing there

* Guard some parts of the new code with HAVE_BSV_MOVIE

* wip, menu fixes

* more menu fixes, osd for movie errors, halt recording properly

* Menu and label fixes

* move bsvs to own file suffix series under savestates, fix recording and playback command validity checks

* Fix replay autoincrement

* fix endif placement, whoops

---------

Co-authored-by: Joseph C. Osborn <jcoa2018@pomona.edu>
2023-03-03 00:52:22 +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 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
libretroadmin 22c760af41 Silence warning: missing braces around initializer [-Wmissing-braces] 2023-02-20 17:15:25 +01:00
libretroadmin a4dda41739 (PSL1GHT) Buildfixes/warning fixes 2023-02-20 15:33:54 +01:00
libretroadmin b872de4fb1 (PSL1GHT) Fix some warnings 2023-02-20 14:50:54 +01:00
sonninnos d7f2bd6ce7
Network information cleanup (#14987) 2023-02-17 20:19:58 +01:00
sonninnos ee2b6997f1
(XMB) Layout corrections (#14986) 2023-02-16 16:08:57 +01:00
sonninnos 54b28f941d
(XMB+Ozone) Thumbnail behavior adjustments (#14980) 2023-02-14 20:35:56 +01:00
sonninnos df05efe068
User Interface menu reordering (#14974) 2023-02-13 20:34:59 +01:00
sonninnos 7765319417
(RGUI) Fix disabled menu item color (#14973) 2023-02-13 16:41:23 +01:00
zoltanvb 1ec036fb91
Music files should also obey builtin_mediaplayer_enable (#14967)
Disabling the built in media player should be possible for music files
as well. Without this, sound files can not be opened from file browser
with cores that support them.
2023-02-11 00:47:03 +01:00
OsirizX 0549223677
(PSL1GHT) Add improvements to the RSX driver (#14965)
* remove var error in psl1ght input

* (psl1ght) add modern_alpha_blend and modern_opaque rsx shaders

* (psl1ght) add perf improvements to the rsx driver

* add rsx gfx for psl1ght

* (psl1ght) set rsx as a compatible video driver

* Do xmb menu scaling for psl1ght

* (psl1ght) update Makefile to use latest shaders and more UI menu options
2023-02-10 08:29:45 +01:00
zoltanvb 1134b895a2
Ozone footer enhancement: Scan button (#14949)
Display Scan button in footer when it is applicable.
2023-02-04 17:18:21 +01:00
zoltanvb 39e5dde973
Add Clear button to Ozone footer (#14947)
Add indication of Clear button when it is applicable (currently: keybinds).
2023-02-04 14:25:59 +01:00
warmenhoven ac2cceb905
Fix a few mac windowed mode settings (#14942)
* Use "Remember window position and size" setting (fixes #14806)
* Implement window opacity
* Enable "Show window decorations" toggle
* Hide "Disable composition" option (osx does not support disabling composition)
2023-02-03 07:32:30 +01:00
LibretroAdmin e7fe79e8ed
Revert "Ignore system subdir replacement if subdir has subdirs (#14887)" (#14940)
This reverts commit f46550bd7c.
2023-02-03 04:04:14 +01:00
zoltanvb f2ee255698
Ozone footer enhancements (#14934)
Add Help button (Select) and Reset to Default (Start) to footer where applicable.
Display Help footer only if there is actual info to be displayed, either
actual help, or sublabel if it is not visible otherwise.
2023-02-02 01:47:02 +01:00
LibretroAdmin d2e3dd136c
Revert "Ozone footer enhancements (#14926)" (#14927)
This reverts commit f7f700318a.
2023-01-29 23:31:22 +01:00
reallibretroadmin 27ee23cfd8 Remove unused variable 2023-01-29 23:27:30 +01:00
zoltanvb f7f700318a
Ozone footer enhancements (#14926)
Add Help button (Select) and Reset to Default (Start) to footer where applicable.
2023-01-29 21:55:16 +01:00
sonninnos b1b7fb56a9
(Ozone) Refresh thumbnail on close content hotkey (#14924) 2023-01-29 14:52:53 +01:00
sonninnos 6378d8e0f8
Override config + appendconfig fixes (#14920) 2023-01-29 00:12:08 +01:00
sonninnos 482c8ccf35
Add dropdown menu for audio device (#14914) 2023-01-28 02:22:08 +01:00
Tatsuya79 940ad64d41
Allow bypassing savestate info files filtering (#14906) 2023-01-26 15:56:33 +01:00
reallibretroadmin 64bee66ba9 Remove unused variable 2023-01-24 04:52:31 +01:00
sonninnos c6dc92fc07
Override bind save + menu manager overhaul (#14895)
* Input bind override conf saving

* Override menu overhaul
2023-01-24 01:42:50 +01:00
libretroadmin e798f99fea Several RARCH_CTL switches don't belong to retroarch state but
runloop state, hence remove
2023-01-22 20:16:14 +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
sonninnos f46550bd7c
Ignore system subdir replacement if subdir has subdirs (#14887) 2023-01-22 13:03:10 +01:00
sonninnos becf623bf0
(XMB+Ozone) Fix search terms in title header (#14883) 2023-01-21 17:16:25 +01:00
sonninnos 70c4fbeb93
(XMB) Fix MENU_ACTION_CANCEL when search is active (#14882) 2023-01-21 13:47:21 +01:00
sonninnos ddcea16634
Show Frame Delay without VSync (#14857) 2023-01-16 20:27:48 +01:00
sonninnos 4191e0a9d7
Add unified back action to all menu drivers (#14856) 2023-01-16 08:51:07 +01:00
sonninnos f8e94861b2
Core option setting type checks (#14852) 2023-01-15 16:06:56 +01:00
sonninnos 2f1a03523b
Hotkey blocking correction (#14831) 2023-01-13 04:56:14 +01:00
Bobby Smith 06c3cd80aa
Fix subsystems sublabels (#14843) 2023-01-13 04:48:02 +01:00
libretroadmin f0c8008bda Split up runahead into its own file(s) - runahead.c/runahead.h -
by Dwedit's request
2023-01-11 10:19:56 +01:00
neil4 7213aada8d
Add Preemptive Frames to Latency Settings (#14832) 2023-01-10 07:22:14 +01:00
sonninnos 55aeba2f57
Savestate thumbnail aspect ratio fallback (#14828) 2023-01-09 04:13:11 +01:00
libretroadmin daa9e352cc Remove asserts 2023-01-09 00:51:05 +01:00
zoltanvb 6412a1d1a1
msg_hash_us.c to Crowdin, phase 2 (with Android fix) (#14825)
* msg_hash_us.c contents to Crowdin, phase 2

Remaining part of the fixed strings moved to msg_hash_us.h, and some other changes:
- added help text for individual menu drivers
- prepared help labels for video drivers
- prepared help labels for input drivers
- old entries from the now defunct help menu are hidden from compilation
  (may be added back later, when the menu is again visible)
- moved notification color/bgcolor items to sublabels
- language fixes from phase 1 comments

* c89 compilation fixes

* Compilation fix for Android builds
2023-01-08 19:33:04 +01:00
libretroadmin ccfad9dc9d Revert "msg_hash_us.c contents to Crowdin, phase 2 (#14821)"
This reverts commit f550576147.
2023-01-08 17:47:11 +01:00
zoltanvb f550576147
msg_hash_us.c contents to Crowdin, phase 2 (#14821)
* msg_hash_us.c contents to Crowdin, phase 2

Remaining part of the fixed strings moved to msg_hash_us.h, and some other changes:
- added help text for individual menu drivers
- prepared help labels for video drivers
- prepared help labels for input drivers
- old entries from the now defunct help menu are hidden from compilation
  (may be added back later, when the menu is again visible)
- moved notification color/bgcolor items to sublabels
- language fixes from phase 1 comments
2023-01-08 10:58:26 +01:00
libretroadmin 8a3686df58 Revert "Header cleanups - don't include retroarch.h everywhere"
This reverts commit 0e3b478f8c.
2023-01-08 09:05:46 +01:00
libretroadmin 0e3b478f8c Header cleanups - don't include retroarch.h everywhere 2023-01-08 08:56:57 +01:00
Skirlez f2c16bd8d6 Scroll sound fixes
correctly get list size in xmb.c for playing scrolling sound when switching categories, play the scrolling sound when pressing cancel in ozone, play the sound when scrolling with ZL and ZR, play the correct sound when scrolling with L
2023-01-07 20:08:21 +01:00
Skirlez 9e668e1673 really fix build errors 2023-01-07 12:09:11 +01:00
Skirlez e1930a0051 hopefully fix build error 2023-01-07 12:09:11 +01:00
Skirlez 8a127eff02 Better scrolling sound implementation, add new 'notice back' sound
The closing info box sound (NOTICE_BACK) plays if you have the regular notice sound on, implemented generally.

audio_driver_mixer_play_menu_sound(i) will now stop sound i before playing it, so when you for example, cancel in rapid succession, it will properly play all canceling sound effects instead of not doing anything if the sound is already playing.

This scrolling implementation is a lot more general than the first one, to the point where RGUI plays all the correct sounds without any special additions. However, the Ozone sidebar scrolling or category switching in XMB or MaterialUI are still handled inside their driver .c files.
This implementation also fixes an issue where if wraparound was disabled the sound would still play if you held on a direction. I've also fixed it manually for XMB category switching, since it's still handled there individually (turns out, Ozone sidebar and MaterialUI categories just don't respect the no wraparound option, so there's no need to implement a fix there as well)
2023-01-07 12:09:11 +01:00
reallibretroadmin adee2dbe72 * Use strlcat instead of strcat
* Silence implicit conversion warnings detected in Xcode
2023-01-07 07:12:25 +01:00
sonninnos 837ae65523 Fix crash when viewing history item information 2023-01-05 21:14:22 +01:00
retroNUC 31addc0a61 Achievement Visibility Submenu - Additional changes
- 'Unlocks/Mastery' split into two options
- 'Account/Login Messages' split off from 'Verbose', gated all login success/error messages
- menu_cbs_sublabel.c - Now in same order as menu options
- menu_setting.c - VISIBILITY_UNLOCK default value now uses define
- All suggested text/cleanup changes from Jamiras
2023-01-05 19:51:55 +01:00
retroNUC 1bf31d84db Include build fix for gcc/mingw 2023-01-05 19:51:55 +01:00
retroNUC 6e81098132 Add Achievements Visibility submenu options
- Startup Summary split off from Verbose Mode, added option to hide for games with zero core cheevos
- Some existing options moved into this submenu
- Leaderboard-related options coming in future PR
2023-01-05 19:51:55 +01:00
Gonzalo Peche 9efc1f500d In Android builds, add input_android_physical_keyboard configuration option and its corresponding menu entry to force a device to act as a physical keyboard.
When running on Android, RetroArch considers most devices that emit dpad events as gamepads, even if they also emit other keyboard events; this is usually the right thing to do, but it has the side effect of not letting some actual keyboards (e.g.: Logitech K480) act as such inside RetroArch. This configuration option allows users to manually select a specific input device to act as a physical keyboard instead of a gamepad, which is handy when emulating computers as opposed to consoles.
2023-01-05 04:50:37 +01:00
Skirlez 48d3cca8b2 move curly brackets that start on the same line as the statement down a line
oops.
2023-01-03 19:34:35 +01:00
Skirlez 710625e0e6 put the if statement that leads to playing the sound inside the HAVE_AUDIOMIXER ifdef in menu_cbs_left and menu_cbs_right 2023-01-03 19:34:35 +01:00
Skirlez ae5612ce91 remove comment which wasn't in the correct format
or needed really
2023-01-03 19:34:35 +01:00
Skirlez aba01c87e3 add scrolling sounds for rgui, xmb, and glui and fix the ozone implementation + hebrew translation for menu sounds submenu
also adds audio_driver_mixer_play_scroll_sound to menu_cbs_left and menu_cbs_right which are (seemingly) responsible for the large scroll on some menus (and also bumper scrolling on glui's playlist menu?).
2023-01-03 19:34:35 +01:00
Skirlez f84093496f implement scrolling sounds for ozone
using roughly the same implementation for the ok/notice/cancel sounds, but i've made an exclusive function for scrolling since it's going to be called a lot more than those sounds
2023-01-03 19:34:35 +01:00
zoltanvb 8b536ec35d
Modify translation completeness labels in order for them to appear in Crowdin. (#14785) 2022-12-31 02:34:45 +01:00
retroNUC d24cdbfb15
Allow repositioning of RetroAchievement notifications (#14777)
* Allow repositioning of achievement notifications

* PS4/ORBIS build fix

Would have thought cheevos-related notification code was wrapped in HAVE_CHEEVOS, but guess not.
2022-12-30 16:55:38 +01:00
sonninnos e0e21b3386
Fix system info autoconf device list (#14783) 2022-12-30 16:53:47 +01:00
sonninnos 0be1aa0420
Add config + input related sublabels (#14781) 2022-12-30 00:48:04 +01:00
zoltanvb 76b3c09ea9
Translation completeness display. (#14779)
Display translation completeness categories in the language selection options.
Generate the progress report for RetroArch menu file instead of all files.
2022-12-29 22:21:23 +01:00
sonninnos 7d81be1d4c
Handle content info label differently (#14776) 2022-12-29 09:16:31 +01:00
sonninnos 2cbb7953d4
Fix visible core info version (#14775) 2022-12-28 03:00:21 +01:00
sonninnos 3092fda58b
Fix menu switch icon correction crash (#14774) 2022-12-27 21:41:49 +01:00
sonninnos 86742b5563
(XMB) Stop showing bogus previous icon on CLI launch (#14773) 2022-12-27 21:41:36 +01:00
sonninnos d5f58fd435
Menu switch icon corrections (#14766) 2022-12-25 18:17:16 +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 e82b75c769 Fix more C89_BUILD issues 2022-12-22 23:10:15 +01:00
LibretroAdmin f836328c56
Append Preset (#14737) (#14757)
WIP version of Append and Prepend preset, Includes UI for Standard Retroarch, but not the QT UI companion

Co-authored-by: HyperspaceMadness <remimcgill@hotmail.com>
2022-12-22 21:36:32 +01:00
sonninnos 05c3c0a552
Automatic Frame Delay improvements (#14754) 2022-12-22 18:58:26 +01:00
zoltanvb 1334bd0408
Localization improvements. (#14753)
- enable localization of audio mixer sublabel
- resolve 2 localization FIXME items
- enable better localization of controller connect/disconnect/config messages
2022-12-22 16:54:14 +01:00
zoltanvb 8de16f3323
Localization improvements. (#14748)
Added translatable labels for recording, streaming, logging, turbo options.
2022-12-20 23:54:49 +01:00
zoltanvb 02ba825c88
Enable localization of video rotation, orientation, aspect ratio options. (#14744) 2022-12-19 21:36:06 +01:00
sonninnos 883e88fa73
Keyboard event blocking corrections (#14728) 2022-12-18 18:36:24 +01:00
sonninnos 16ca87c327
Rename Standalone Cores to Contentless Cores (#14738) 2022-12-16 19:02:24 +01:00
sonninnos 51c92c7e3a
Fix icons in playlist manager (#14735) 2022-12-16 17:59:18 +01:00
zoltanvb e6421f6f8b
Use sublabel as help text if there is no suitable definition. (#14714)
* Use sublabel as help text if there is no suitable definition.

* code style update
2022-12-10 18:06:45 +01:00
sonninnos 5024809c85
Device Index menu refactor (#14691) 2022-12-02 17:47:53 +01:00
sonninnos 8e937ddd6a
MIDI driver cleanups (#14686) 2022-11-29 11:29:39 +01:00
LibretroAdmin c75af6194b
Extended IME and Korean OSK (#14676) 2022-11-29 04:45:55 +01:00
sonninnos 68773becc6
Extend OFF menu value colors (#14685) 2022-11-28 21:14:47 +01:00
sonninnos 02ab636d00
Explore thumbnail fixes (#14682) 2022-11-28 19:01:02 +01:00
libretroadmin 8af051076c Another buildfix - circular dependencies can tend to be a drag 2022-11-27 23:14:30 +01:00
libretroadmin d26c1b7ca8 Buildfixes 2022-11-27 23:10:46 +01:00
libretroadmin cc37b7037f Move enum screensavers to menu_defines.h 2022-11-27 23:08:14 +01:00
libretroadmin 019ebce8c7 (RGUI) Buildfix 2022-11-27 23:00:43 +01:00
libretroadmin 694b84937f (RGUI) Properly namespace some functions 2022-11-27 22:25:58 +01:00
libretroadmin f90ea7b065 Get rid of unused variable 2022-11-27 22:16:23 +01:00
LibretroAdmin fcd4dce445
Use only macros from now on in config.def.h (#14681) 2022-11-27 22:15:59 +01:00
sonninnos 7873378a98
Turn menu related config defaults from bools to defines (#14680) 2022-11-27 21:01:53 +01:00
libretroadmin 77f509ab3c (MaterialUI) Fix home screen on first startup - no more stray entries 2022-11-27 20:23:59 +01:00
sonninnos d03b77d4cf
Menu icon improvements (#14679) 2022-11-27 19:19:55 +01:00
libretroadmin 8ed246be86 (sinc resampler) Silence warning
(MaterialUI) Style nits
2022-11-23 18:03:44 +01:00
sonninnos 9297ff44b7
(Ozone+XMB) Fix overlays behind menu without core running (#14663) 2022-11-23 16:48:58 +01:00
libretroadmin 736a3034bb (materialUI) Silence signedness warnings 2022-11-23 05:20:17 +01:00
libretroadmin aa0ae2cd3e Silence warnings 2022-11-22 18:34:04 +01:00
neil4 3b0db75782
Overlay cleanups; replace bools with flags (#14661) 2022-11-22 18:29:11 +01:00
libretroadmin 92e0403aeb general_push - add exception to populating setting 2022-11-22 17:44:34 +01:00
libretroadmin dd2d9d2f22 Simplify general_push 2022-11-22 17:40:21 +01:00
sonninnos e0e6810cf0
Allow toggling info off with the same button (#14660) 2022-11-22 17:23:19 +01:00
sonninnos 9bc7bebf51
More hotkey cleanups (#14657) 2022-11-22 14:45:30 +01:00
libretroadmin e3f5d32401 general_push - simplifications 2022-11-21 23:11:34 +01:00
libretroadmin 1c9d3ad0bf Silence some warnings 2022-11-21 20:56:28 +01:00
libretroadmin 6b71214ed7 Silence some signed/unsigned mismatch warnings 2022-11-21 19:34:43 +01:00
libretroadmin 59cce09186 Menu cleanups:
* Some control flow improvements in callback functions, less return
paths
* Remove menu_cbs_exit(), which was a stub function that always returned
-1
2022-11-20 18:55:07 +01:00
sonninnos e52b633e5a
Allow menu wallpaper/background reset (#14650) 2022-11-20 18:12:18 +01:00
sonninnos 7275b82614
System Information cleanups (#14647) 2022-11-20 13:39:02 +01:00
sonninnos 3377fd55ab
Driver + hotkey list reorder (#14646)
* Reorder driver menu and lists

* Reorder hotkey list
2022-11-20 07:26:34 +01:00
Richard c0926ad1a1
feat(iOS13): Pointer Movement Accuracy (#14641)
Co-authored-by: Richard <rf2222222@github.com>
2022-11-18 19:45:36 +01:00
libretroadmin a50f9bae85 Turn scroll.mode into enum 2022-11-17 19:44:42 +01:00
libretroadmin 5402b781fe (menu_cbs_ok.c) Cleanups 2022-11-17 19:08:21 +01:00
sonninnos 706d79f535
Consistent left-right scrolling for Quick Menu items (#14631) 2022-11-16 10:37:26 +01:00
sonninnos b080b39d2b
Remove useless sublabel from System Information (#14632) 2022-11-16 10:36:54 +01:00
sonninnos 3e8ff57e2c
(Ozone) Show metadata helper in footer only with second thumbnail (#14630) 2022-11-16 00:20:36 +01:00
sonninnos 3b921ffbfa
Fix shader toggle and add hotkey + sublabel (#14628) 2022-11-15 22:14:09 +01:00
sonninnos cd2392c559
(XMB) Improve background image selector (#14623) 2022-11-14 11:48:40 +01:00
Jamiras e46e03094f
upgrade to rcheevos 10.5 (#14622) 2022-11-13 23:24:42 +01:00
Ryunam 49b973ac89
(Ozone+XMB) Add option to customize cursor memory (#14605) 2022-11-10 15:46:44 +01:00
Ryunam eb5b4197f8
(Ozone+XMB) Further extend texture support for Core Option categories (#14607) 2022-11-10 09:27:49 +01:00
sonninnos 68401205f2
Add option for pause on controller disconnect (#14601) 2022-11-08 12:46:09 +01:00
sonninnos da6e560e72
(Ozone) Fixes, nits and cleanups (#14598) 2022-11-07 05:48:32 +01:00
Michael Burgardt b89692c532
Add Hungarian language option (#14585) 2022-11-04 19:52:39 +01:00
LibretroAdmin 0ffdf0790c (Ozone) Turn more booleans into flags 2022-11-02 03:19:31 +01:00
LibretroAdmin 01649d7955 (Ozone) Turn more booleans into flags 2022-11-02 01:45:43 +01:00
sonninnos 1c7855acc8
Add option for swapping menu scrolling buttons (#14577) 2022-11-01 19:48:28 +01:00
LibretroAdmin e4e776abf7 (Ozone) Partial conversion of booleans to flags 2022-11-01 08:27:10 +01:00
LibretroAdmin bfd9419d6a (MaterialUI) Turn booleans into flags 2022-11-01 06:51:53 +01:00
LibretroAdmin ea4b815117 (RGUI) Turn booleans into flags 2022-11-01 05:33:58 +01:00
LibretroAdmin 250a0b9542 Implicitly use floats in float arrays 2022-10-30 20:16:16 +01:00
neil4 2de52baf74
Overlays: Add eightway area types (#14565)
- New descriptors: 'dpad_area' and 'abxy_area'
- Each has a diagonal sensitivity setting, 100% being 8-way symmetry
- Buttons can be redefined in the cfg file

E.g. This would create a d-pad area, then redefine it to use analog directions:
overlay0_desc0 = "dpad_area,0.85,0.57,rect,0.166228,0.295516"
overlay0_desc0_up = "r_y_minus"
overlay0_desc0_down = "r_y_plus"
overlay0_desc0_left = "r_x_minus"
overlay0_desc0_right = "r_x_plus"
2022-10-30 06:31:27 +01:00
sonninnos 194be57da1
(XMB) Add truncate playlist name option (#14553) 2022-10-27 05:42:46 +02:00
LibretroAdmin d0b3c1742d (Video) use flags for FBO passes, GL2 renderchain, etc 2022-10-26 21:21:21 +02:00
LibretroAdmin 94a3eba9ef Turn checked into flag for menu_entry_t 2022-10-26 00:28:57 +02:00
LibretroAdmin 0d16eb6e10 (Menu) menu_entries - get rid of boolean variables and
turn them into flags
2022-10-25 17:22:35 +02:00
LibretroAdmin d30f16dc79 Remove cursor directory/cursor manager list - Views obsoleted
this
2022-10-25 15:21:47 +02:00
LibretroAdmin 11c96ce2d3 (MaterialUI)
* Remove unused variables
* Turn loop counter variable into int
2022-10-24 16:49:01 +02:00
LibretroAdmin 3c7e4b032e (Menu drivers) Remove warnings about missing assets 2022-10-24 16:45:17 +02:00
reallibretroadmin f389c08109 (Menu) Remove unused variables 2022-10-24 16:41:37 +02:00
Dyllan Kobal 55ce774527 Fixed the way devices were previously indexed 2022-10-19 18:52:21 +02:00
sonninnos 6c0be28b98
(Ozone) Footer improvements (#14534) 2022-10-19 03:32:21 +02:00
LibretroAdmin 07ae7ff7f1 Turn more static const variables in config.def.h into define macros 2022-10-18 13:39:21 +02:00
LibretroAdmin 57d5b8749e (Android) Enable 'Vibrate On Key Press' by default
(config.def.h) Turn some const variables into define macros
2022-10-18 12:13:47 +02:00
sonninnos 0597aa6939
Thumbnail fullscreen toggle behavior correction (#14527) 2022-10-18 10:05:01 +02:00
LibretroAdmin 320886f9fa Fix some function declarations 2022-10-17 19:56:32 +02:00
reallibretroadmin c594abb10d Cleanups; fixes of warnings 2022-10-17 19:29:33 +02:00
sonninnos 0cebebbfdc
(Ozone) Remember selection per main tabs (#14526) 2022-10-17 16:04:54 +02:00
sonninnos feea90d877
(XMB) Vertical Fade fix (#14525) 2022-10-17 00:06:14 +02:00
sonninnos ababfcc0c8
(XMB) Playlist entry index fixes (#14523) 2022-10-16 23:46:27 +02:00
sonninnos 3c61126578
(XMB) Remember selection per main tabs (#14519) 2022-10-16 18:15:50 +02:00
neil4 b98c53ddb7
Improve haptic feedback for input overlays (#14517)
Repurpose vibrate_on_keypress to enable device's standard keypress feedback on overlay key/button state changes

- Add keypress_vibrate function ptr to input_driver_t (only implemented on Android for now)
- (Android) Remove APP_CMD_VIBRATE_KEYPRESS
- (Android) Add doHapticFeedback, called directly to avoid latency
2022-10-16 09:58:09 +02:00
Michael Burgardt 254ac65549
Add British English language option (#14504) 2022-10-12 23:26:00 +02:00
LibretroAdmin 41de5ec80b Cleanups for runloop_state grabbing 2022-10-10 20:32:46 +02:00
LibretroAdmin d100e73780 Use more runloop flags 2022-10-10 08:59:27 +02:00
Bernhard Schelling c9bbe7683f
Add View feature (#14467)
* Add View feature
Add saving of a filter set in the Explore menu into a so called "View" file which then gets listed alongside playlists.
This also adds the ability to filter a category by range in the Explore menu and not just filter on exact matches.

* Menu improvements for explore and views

* Collapse ozone sidebar in view

* Fix problems with the sidebar in explore/view

* Ignore view files in the Qt playlists menu

* Add missing semicolon

* Support downloading thumbnails in views
2022-10-10 06:36:02 +02:00
LibretroAdmin d506210fbe
(menu_driver.c) Use flags instead of bools (#14500)
* (menu_driver.c) Use flags instead of bools
2022-10-08 22:52:18 +02:00
LibretroAdmin fcbd72dbf3
Use flags pt4 (#14497)
* * Use flags for rarch_state
* Get rid of ^M linebreaks in retroarch_types.h

* Buildfixes for consoles

* (audio driver) use flags instead of bools

* (video) Use flags instead of bools

* Rewrite input driver state bools into flags
2022-10-08 10:39:15 +02:00
LibretroAdmin 91119d038f
(gfx_display/gfx_animation) Use flags instead of bools (#14488)
* (gfx_display/gfx_animation) Use flags instead of bools
* (task_save) Use flags instead of bools
2022-10-07 00:10:32 +02:00
LibretroAdmin f8a9b0a197 Combine bit setting 2022-10-05 20:42:30 +02:00
LibretroAdmin d0c6dfee0b Cleanup bitmask setting 2022-10-05 18:43:58 +02:00
LibretroAdmin b2521c53ae Filebrowser - fix regression #14425 2022-10-05 17:31:21 +02:00
LibretroAdmin 7d956b611c rarch_setting - we can downgrade flags and free_flags to 32bit
since the flags don't come anywhere near close to 64 unique flags
2022-10-05 04:34:47 +02:00
LibretroAdmin ffa1ae4143 setting_list.c - implement cmd_trigger_event_triggered as flag 2022-10-05 04:23:02 +02:00
LibretroAdmin ab1f21ef78 (Ozone/MaterialUI) sublabel lines will not ever go beyond uint8_t
max value, so change variable types from 32bit to 8bit
2022-10-04 23:58:04 +02:00
LibretroAdmin fa40754585 (MIST/STEAM/STEAMDECK) Don't expose Black Frame Insertion if we are
running RetroArch on a Steam Deck
2022-10-04 22:59:57 +02:00
LibretroAdmin 185e1af39b (MaterialUI) Prevent pointless self-assignment with tertiary operators 2022-10-03 21:41:39 +02:00
LibretroAdmin 2429c472b6 Buildfix for previous commit 2022-10-03 19:18:52 +02:00
LibretroAdmin e5897caa8f Cut down on menu_displaylist_info_t size - use flags instead of all
these boolean members
2022-10-03 18:13:32 +02:00
LibretroAdmin 8c49eed56c rarch_setting - remove dont_use_enum_idx_representation value -
set it as a flag instead
2022-10-03 15:42:36 +02:00
LibretroAdmin 0a8ff5d15d (menu_setting) enforce_minrange and enforce_maxrange become flags,
and make remainder of minrange/maxrange local variables of type
float
2022-10-03 02:28:12 +02:00
LibretroAdmin 13cc6b7f46 Use float values now that setting min/max are float instead of double 2022-10-03 01:53:58 +02:00
reallibretroadmin 0033224c25 Fix some implicit conversion signedness warnings 2022-10-02 03:22:34 +02:00
sonninnos 25f5d9ae2a
Fix DEFAULT_FILL_TITLE_MACRO (#14456) 2022-10-01 23:51:25 +02:00
sonninnos e902df3b0d
(XMB) Add options for hiding header and horizontal title margin (#14439) 2022-09-26 12:57:20 +02:00
Bobby Smith cd93bdc058
Fix "Windowed Scale" dropdown menu (#14433) 2022-09-22 12:58:56 +02:00
sonninnos b014a9ef98
Move PLAYLIST_SHOW_HISTORY_ICONS upwards (#14427) 2022-09-18 01:15:33 +02:00
sonninnos 8842603165
Online Updater menu reorganizing (#14414) 2022-09-15 09:24:35 +02:00
LibretroAdmin ce8389d4a6 (menu_setting.c) Remove code duplicated functions 2022-09-13 11:06:37 +02:00
LibretroAdmin 045fd38f19 Reduce tertiary operators 2022-09-13 10:28:03 +02:00
tr12345 8cc866b051
New Menu Items for disabling Info & Search buttons in the menu (#14259)
* New Menu Items Disable Info & Search

Add menu options for disabling Info and   Search buttons

* Update msg_hash_us.h

Update Sublabels

* Update menu_setting.c

Set Advanced flag for new settings
2022-09-12 23:17:24 +02:00
LibretroAdmin 36d60f6bf4 (Ozone/MaterialUI/RGUI/XMB) Get rid of some tertiary operators - was basically reassigning the same
value
2022-09-12 22:20:03 +02:00
LibretroAdmin da094eeb2f Remove unused XMB_DEBUG 2022-09-11 19:53:44 +02:00
LibretroAdmin 98ee07eaa0 (MaterialUI) Silence warning 2022-09-06 01:57:08 +02:00
Jamiras 43f5812a18
show achievement badge icons in glui driver (#14390) 2022-09-06 01:53:22 +02:00
sonninnos 87457eb678
Hide 'Notification Visibility' when notifications are disabled (#14386) 2022-09-05 19:11:39 +02:00
LibretroAdmin 84868ab21f (Setting) Windowed scale should be an integer instead of float 2022-09-05 04:03:04 +02:00
sonninnos c4c55077a1
Allow On-Demand Thumbnails in Explore menu (#14385) 2022-09-05 00:01:38 +02:00
LibretroAdmin 1e035b9385 (file_list) Get rid of superfluous small functions 2022-09-04 17:52:06 +02:00
LibretroAdmin dfb4b603e4 Get rid of superfluous wrapper function file_list_get_at_offset 2022-09-04 07:30:21 +02:00
LibretroAdmin 1a24bfe60c (file_list) Get rid of useless wrapper functions 2022-09-04 05:39:16 +02:00
LibretroAdmin 866ce4c50d (Menu drivers) Get rid of verbosity.h include 2022-09-04 04:58:22 +02:00
LibretroAdmin 0ffdd14940 Change msg_len of font driver to size_t - avoids all the type
casting/conversion
2022-09-02 01:10:28 +02:00
LibretroAdmin 6f84af2efa * Simplify menu_entries_get_title
* Add TODO/FIXME - localize strings to hardcoded strings
* Some more simplifications in for loops
2022-09-01 15:42:25 +02:00