RetroArch/libretro-common
Bernhard Schelling a3d9201581
Add environment callback to get the rate retro_run is called (#13022)
* Add GET_THROTTLE_STATE environment callback

* Add RETRO_THROTTLE_UNBLOCKED
to report the case where neither vsync nor audio is limiting the call rate.
Also fix reporting of some special cases when the menu is open.

* Change throttle state mode to unsigned
Use #defines Instead of the untyped C enum to allow easier future additions.

* Spelling fixes

* Avoid any divide-by-zero
2021-10-11 18:05:13 +02:00
..
audio (Audio Mixer) Pad sample buffers to prevent potential heap-buffer-overflows when resampling (fixes crash when using 30 kHz menu audio files) (#12987) 2021-09-15 01:17:45 +02:00
cdrom libretro-common/cdrom: Add missing compatibility header 2020-10-05 10:28:45 +01:00
compat Revert "Windows long paths fix" 2020-12-24 16:40:15 +01:00
crt
dynamic (UWP) Fix regression in dylib 2020-11-18 01:44:32 +01:00
encodings
features cpu detection detection vfp unit for Darwin. 2021-04-24 22:58:14 +01:00
file (libretro-common) fill_pathname_abbreviated_or_relative - fix warning - 2021-08-11 18:50:03 +02:00
formats Try to silence libnx warning (-Wstringop-overflow) 2021-09-21 19:20:21 +02:00
gfx
glsym
hash (libretro-common) Rename rhash to lrc_hash 2020-12-28 19:55:54 +01:00
include Add environment callback to get the rate retro_run is called (#13022) 2021-10-11 18:05:13 +02:00
libco Add PS2 libco 2021-02-07 21:16:24 +01:00
lists (nested_list) Fix heap-use-after-free errors due to pointer invalidation when resizing internal RBUF arrays 2021-08-09 23:08:17 +01:00
media Use strcpy_literal in more places 2020-09-19 23:59:06 +02:00
memmap
net add helper function for accessing connection method 2021-07-27 21:02:14 -06:00
playlists Fix playlist label sanitisation 2021-03-26 12:22:10 +00:00
queues Adding a generic queue and linked list. 2021-05-05 10:41:13 -07:00
rthreads Basic rs90 build 2021-07-13 11:36:48 -05:00
samples Add core options translation scripts 2021-09-02 19:07:28 +02:00
streams (libretro-common/file_stream) Restore missing filestream_scanf() function 2021-09-24 12:12:52 +02:00
string improve message wrapping with CJK languages 2021-06-03 21:09:35 +09:00
test improve message wrapping with CJK languages 2021-06-03 21:09:35 +09:00
time
utils Moving more stuff from samples to tests 2021-05-10 19:45:50 +02:00
vfs strip out winrt storagefiles 2021-10-01 09:58:17 +01:00
vulkan
.gitignore Updates 2020-12-13 21:21:21 +01:00
Makefile.test Moving more stuff from samples to tests 2021-05-10 19:45:50 +02:00