3120 Commits

Author SHA1 Message Date
libretroadmin
07eddd7229 Cleanups 2023-04-23 16:09:24 +02:00
libretroadmin
182ab1a82e Small misc cleanups - some C89 compliance fixes 2023-04-23 09:11:26 +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
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
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
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
3f3262fba3 (PS3) Cleanups - don't assume GLSL is the default shader for PSL1GHT 2023-02-23 10:43:33 +01:00
LibretroAdmin
e7fe79e8ed
Revert "Ignore system subdir replacement if subdir has subdirs (#14887)" (#14940)
This reverts commit f46550bd7ce7347a4edef163390546a351f84d0d.
2023-02-03 04:04:14 +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
sonninnos
f46550bd7c
Ignore system subdir replacement if subdir has subdirs (#14887) 2023-01-22 13:03:10 +01:00
Bobby Smith
06c3cd80aa
Fix subsystems sublabels (#14843) 2023-01-13 04:48:02 +01:00
neil4
7213aada8d
Add Preemptive Frames to Latency Settings (#14832) 2023-01-10 07:22:14 +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 f550576147c7d086d1ff3312698efa57fd3cd5ee.
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 0e3b478f8c00b015aec9a78d13e73277500e5449.
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
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
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
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
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
sonninnos
d5f58fd435
Menu switch icon corrections (#14766) 2022-12-25 18:17:16 +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
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
02ba825c88
Enable localization of video rotation, orientation, aspect ratio options. (#14744) 2022-12-19 21:36:06 +01:00
sonninnos
5024809c85
Device Index menu refactor (#14691) 2022-12-02 17:47:53 +01:00
libretroadmin
8af051076c Another buildfix - circular dependencies can tend to be a drag 2022-11-27 23:14:30 +01:00
libretroadmin
aa0ae2cd3e Silence warnings 2022-11-22 18:34:04 +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
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
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
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