Commit Graph

4 Commits

Author SHA1 Message Date
twinaphex
df8dbd8861 (Libretro) Reimplement audio -
* Move audio callback to the main thread (fixes the longstanding hang
  issues when using OpenGL)
* 64ms on desktop isn't enough due to excess buffering going on in this
  emulator. Set default to 128ms instead.
* Different audio approach is necessary due to the following: it sets a
  fixed framerate of 60, then sends either too many or too few audio
samples per frame in order to force the frontend to run at the correct
speed (.e.g. making the frontend run in slow motion for games that run
at 30fps) - this is undesirable for libretro, we want a consistent
amount of audio samples per batch. See further comments in libretro.cpp
for more information
2021-12-05 17:31:36 +01:00
twinaphex
20d85e57c9 (Libretro) Add optimal input read codepath - bitmasks 2020-07-13 19:13:18 +02:00
aliaspider
4d1503666a Libretro: update libretro.h 2018-03-25 23:05:47 +01:00
aliaspider
c4f7790618 Libretro port. 2018-03-24 12:44:53 +01:00