Commit Graph

252 Commits

Author SHA1 Message Date
Henrik Rydgård 67353e8f0b Merge pull request #17177 from hrydgard/libretro-avoid-double-resample
libretro: Bypass PPSSPP's resampler, since libretro already has one
2023-03-25 08:10:39 +01:00
Henrik Rydgård 677cba6e77 buildfix 2023-03-24 23:04:14 +01:00
Henrik Rydgård 72ab6cd0bc libretro: Bypass PPSSPP's resampler, since libretro already has one
Hopefully, this will fix the reported bad audio performance and
behavior. Running two speed-compensating resamplers in a row can't be a good thing.
2023-03-24 18:52:41 +01:00
Henrik Rydgård 5a5779dcd6 Remove symbol-map related functions from Host 2023-03-24 18:08:31 +01:00
Henrik Rydgård 349b73acec Move the resampler usage to a common file, AudioCommon. (#17176)
* Move the resampler usage to a common file, AudioCommon.

Ports that don't want to use the resampler can now simply exclude that
file and provide their own implementation. Next up, libretro will be
converted to do it that way.

* Android.mk typo

* libretro makefile fix

* libretro buildfix

* libretro: try a different approach for the temporary solution

* duh

* double duh
2023-03-24 17:19:57 +01:00
Henrik Rydgård b440e28e38 Remove System_SendMessage!
iOS, Qt buildfixes
2023-03-22 23:52:51 +01:00
Henrik Rydgård 70f0ac04af Port the file browser spawned by the Load button to the new request stuff 2023-03-22 15:36:14 +01:00
Henrik Rydgård de064e210e Replace the inputbox queue with a more generic RequestManager. 2023-03-22 12:41:11 +01:00
Henrik Rydgård 47f063550a Remove InitGraphics/ShutdownGraphics from Host, except for headless 2023-03-21 22:47:20 +01:00
Henrik Rydgård f5472ba0d8 Cleanup up unnecessary audio init functions 2023-03-21 13:39:02 +01:00
Henrik Rydgård 06fcc9ccd7 Add System_Notify 2023-03-21 13:37:16 +01:00
Henrik Rydgård d3955b42bb Rename some system functions, merge the Launch* ones.
android launchurl buildfix
2023-03-21 12:22:59 +01:00
Henrik Rydgård 53172eff63 Renaming and file splitting 2023-03-06 16:42:50 +01:00
Henrik Rydgård 3b39e9e068 Turn the VFS into a class, to be able to reuse it for other purposes. 2023-03-06 16:42:47 +01:00
xielei 8ff78cb921 aioemu 2023-02-15 17:21:45 +08:00
Henrik Rydgård a7baa3580b Some code cleanups around rewind. 2023-02-14 10:09:36 +01:00
Eric Warmenhoven ec54095b68 Build for iOS as a libretro core 2023-02-07 01:00:47 -05:00
hunterk ce4e42eb2b expose analog-is-circle functionality to libretro 2023-01-13 17:22:24 -06:00
Bram Verweij e3658ab0ef convert tabs to spaces 2022-12-24 12:36:06 +01:00
Bram Verweij fc281a1f96 Issue 16646: strip leading zeros from IP address 2022-12-24 12:18:15 +01:00
Henrik Rydgård 03433c42ce Merge pull request #16514 from rf2222222/libretro_cheat_support
Libretro: Cheat Support
2022-12-09 12:16:43 +01:00
Henrik Rydgård d04771252d Merge pull request #16513 from rf2222222/libretro_cpu_setting
Libretro: Set Interpreter as default CPU and get CPU from setting
2022-12-09 11:52:49 +01:00
Richard a02df90335 feat(Libretro): Cheat Support 2022-12-08 11:56:24 -05:00
Stuart Kenny 6042af78ec Expose MSAA option for libretro. 2022-12-07 11:28:02 +00:00
Richard 10eafe2e02 Libretro: Set Interpreter as default CPU and get CPU from setting 2022-12-06 11:15:33 -05:00
Henrik Rydgård cf44adbf5d Libretro fixes 2022-11-21 18:09:04 +01:00
Henrik Rydgård f597b4ca51 Blind libretro fix 2022-11-06 20:01:29 +01:00
Henrik Rydgård 95cb358fbf Change the "Retain changed textures" option into a compat.ini option.
This option benefits so few games and can hurt others, so that it's
better that we specifically enable it for known cases like Popolocrois.
2022-11-06 17:28:50 +01:00
bslenul 26a66dc37f [Libretro] Update core options to v2 + add a few new ones
Updated core options to v2 + added the following options: "Cache Full ISO in RAM", "PSP Model" and "Hardware Tesselation".
2022-11-02 20:34:24 +01:00
Henrik Rydgård 8c56abd3dc Remove setting "Disable slower framebuffer effects" 2022-09-03 11:06:43 +02:00
Henrik Rydgård 1cd34f9d2b Another buildfix attempt 2022-09-01 14:07:27 +02:00
Henrik Rydgård 7c5d36eca7 libretro buildfix 2022-09-01 13:33:46 +02:00
Henrik Rydgård 67d6549afd Rename Slow Framebuf effects to Shader Blending (might remove). Reassign readbacks to BlockTransferGPU. 2022-08-31 14:23:33 +02:00
Henrik Rydgård f9a25458d5 Libretro fix 2022-07-24 14:10:12 +02:00
Henrik Rydgård a831cab14c Remove unmotivated check preventing texture ini creation on mobile. (#15647)
* Remove unmotivated check preventing  texture ini creation on mobile.

Fixes #15644

* Show a "toast" message on platforms that don't support opening a text editor, when you try to create/open a texture ini file.

* Avoid the need to ifdef around calls to SystemToast

* UWP buildfix (and some warning fixes).

And possibly libretro fix

* Rename for a bit more consistency
2022-07-10 22:34:44 +02:00
ANR2ME 43beb26896 Added psp.gameplayer.club public Adhoc Server. 2022-06-26 19:47:33 +07:00
jdgleaver 75bd828a5d (libretro) Add option to detect and notifiy frontend of internal frame rate changes (60 <-> 30 <-> 20 fps, etc.) + restore 'Duplicate Frames in 30 Hz Games' core option 2022-05-17 16:22:29 +01:00
Bram Verweij 2da2525414 Limit minimum timeout to [0, 100, 200, ..., 5000] 2022-05-15 11:06:34 +02:00
Bram Verweij 4dbeb5cd57 For Libretro -DUSE_DISCORD=1 is not added in CMakeLists.txt 2022-05-14 21:01:37 +02:00
Bram Verweij f74b884526 Let port offset cover the entire range in steps of 1k 2022-05-14 19:44:59 +02:00
Bram Verweij 47a52d2db9 Remove options for network chat, since these only work for standalone 2022-05-14 11:17:28 +02:00
Bram Verweij eab3320e20 Make MAC address configurable and randomize when not set 2022-05-14 00:34:25 +02:00
Bram Verweij 8a6c1f803f Fix update of chat screen position 2022-05-13 22:40:50 +02:00
Bram Verweij 25e380577a Disable UPnP by default 2022-05-13 20:21:20 +02:00
Bram Verweij 2b1d40706c Correct indentation and some strings 2022-05-13 16:59:21 +02:00
Bram Verweij 899efa4a45 Expose networking options in libretro core 2022-05-13 16:48:06 +02:00
Stuart Kenny 1a3fed4344 Expose 2xBRZ texture filter option. 2022-01-27 08:27:04 +00:00
jdgleaver cdbebc1898 (libretro) Force enable g_Config.bRenderDuplicateFrames + minor audio buffer tweaks 2021-12-07 16:21:59 +00:00
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
Unknown W. Brackets 5b5a8c9c05 libretro: Expose bool system properties. 2021-10-19 10:01:52 -07:00